#!/usr/bin/make -f include /usr/share/dpkg/default.mk include /usr/share/java/java_defaults.mk %: dh $@ override_dh_auto_configure: dh_auto_configure # Maven fails if the module version has ${revision} and the parent POM # has an actual version number instead of "${revision}"; misfeature? sed -i -e '/.*<\/version>/ { s/>[^<]\+$${revision}.*<\/version>/ { s/>[^<]\+$(DEB_VERSION_UPSTREAM).*<\/version>/ { s/>[^<]\+$(DEB_VERSION_UPSTREAM).*<\/version>/ { s/>[^<]\+$(DEB_VERSION_UPSTREAM)