#!/usr/bin/make -f # DH_VERBOSE := 1 include /usr/share/dpkg/pkg-info.mk %: dh $@ --with javahelper,maven_repo_helper override_dh_auto_clean: dh_auto_clean # Cleaning the custom pom file -rm debian/pom.xml override_dh_auto_configure: # Putting the version number in the custom pom sed 's/\(VERSION_PACKAGE\)/\1$(DEB_VERSION_UPSTREAM)/; s/VERSION_PACKAGE\(.*\)+dfsg[0-9]*/\1/' debian/pom.xml.in > debian/pom.xml dh_auto_configure