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