#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk %: dh $@ --with javahelper override_dh_auto_build: dh_auto_build # Rename the shaded start.jar to be installed in /usr/share/jetty12 cp jetty-core/jetty-start/target/jetty-start-*shaded.jar jetty-core/jetty-start/target/start.jar # The timestamps of the configuration files unpacked from the jars depend on the local timezone find jetty-home/target/jetty-home -exec touch --no-dereference -d@$(SOURCE_DATE_EPOCH) {} + override_dh_auto_test: override_dh_link: VERSION=$(shell grep '' pom.xml | head -1 | tail -1 | sed -e 's/.*\(.*\)<\/version>.*/\1/') \ dh_link