#!/usr/bin/make -f

%:
	dh $@ --buildsystem=ant --with maven-repo-helper

override_dh_auto_build:
	# copy MANIFEST.MF to src/main/resources/META-INF/ to include it in the jar
	install -d src/main/resources/META-INF/
	install -m644 src/conf/MANIFEST.MF src/main/resources/META-INF/

	dh_auto_build -- dist

get-orig-source:
	-uscan --download-current-version --force-download --rename --repack --compression xz
