debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | PACKAGE = $(shell dh_listpackages) |
| 6 | TMP = $(CURDIR)/debian/$(PACKAGE) |
| 7 | |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | override_dh_installexamples: |
| 12 | dh_installexamples |
| 13 | sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/* |