| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie |
| 4 | |
| 5 | %: |
| 6 | dh $@ |
| 7 | |
| 8 | override_dh_auto_configure: |
| 9 | # keeps it out of /usr/local |
| 10 | dh_auto_configure -- PREFIX=/usr |
| 11 | |
| 12 | override_dh_auto_build: |
| 13 | dh_auto_build -- $(shell dpkg-buildflags --export=cmdline) |
| 14 | |
| 15 | override_dh_auto_clean: |
| 16 | # distclean moans about MANIFEST, this is quieter |
| 17 | if [ -e Makefile ]; then $(MAKE) realclean; fi |
| 18 | |
| 19 | override_dh_makeshlibs: |
| 20 | # only contains private libraries |