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 | find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | \ |
| 14 | xargs -r0 sed -i -e 's,/usr/local/bin/perl,/usr/bin/perl,' |
| 15 | |
| 16 | override_dh_auto_test: |
| 17 | TEST_SKIP_VERSION_CHECK=1 dh_auto_test |