#!/usr/bin/make -f

include /usr/share/dpkg/default.mk
export JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@ --parallel --with javahelper

override_dh_auto_clean:
	dh_auto_clean
	ant -Dbasedir=$(CURDIR) distclean

override_dh_auto_build:
	ant -Dbasedir=$(CURDIR) dist

get-orig-source:
	uscan --download-current-version --force-download
