debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | PKG := $(shell dh_listpackages) |
| 4 | TMP := $(CURDIR)/debian/$(PKG) |
| 5 | |
| 6 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 | |
| 8 | %: |
| 9 | dh $@ --buildsystem=perl_makemaker |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | perl $(CURDIR)/gendef0 |
| 13 | dh_auto_configure |
| 14 | |
| 15 | override_dh_auto_install: |
| 16 | dh_auto_install |
| 17 | sed -i -e 's|^#!/opt/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/bin/treescan |