#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_installexamples: dh_installexamples find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | \ xargs -r0 sed -i -e 's,/usr/local/bin/perl,/usr/bin/perl,' override_dh_auto_test: TEST_SKIP_VERSION_CHECK=1 dh_auto_test