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