debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | DPKG_EXPORT_BUILDTOOLS=1 |
| 4 | include /usr/share/dpkg/buildtools.mk |
| 5 | |
| 6 | PACKAGE = $(shell dh_listpackages) |
| 7 | TMP = $(CURDIR)/debian/$(PACKAGE) |
| 8 | |
| 9 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 10 | |
| 11 | %: |
| 12 | dh $@ |
| 13 | |
| 14 | override_dh_fixperms: |
| 15 | dh_fixperms |
| 16 | chmod -x $(TMP)/usr/share/doc/$(PACKAGE)/examples/* |