#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

# output every command that modifies files on the build system.
export DH_VERBOSE = 1

%:
	dh $@ --buildsystem=maven

execute_before_dh_auto_configure:
	# Setting up our handmade pom.xml file
	sed "s/#VERSION#/$(DEB_VERSION_UPSTREAM)/" debian/pom.xml.in > pom.xml

execute_after_dh_clean:
	# Remomving our handmade pom.xml file
	-rm pom.xml
