#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-${DEB_BUILD_ARCH}

%:
	dh $@ --with javahelper

override_dh_auto_build:
	ant -buildfile debian/build.xml -Dbasedir=$(CURDIR) -Divyplusplus.version=$(DEB_VERSION_UPSTREAM)
