#!/usr/bin/make -f

export DEB_CFLAGS_MAINT_APPEND = -fPIC
export DEB_CXXFLAGS_MAINT_APPEND = -fPIC
export DEB_LDFLAGS_MAINT_APPEND = -fPIC

%:
	dh $@ --with maven-repo-helper,javahelper

override_dh_auto_build:
	mkdir --parents debian/tmp
	make -f debian/Makefile build

override_dh_auto_clean:
	dh_auto_clean
	$(RM) -r debian/out

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