| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- mode: makefile; coding: utf-8 -*- |
| 3 |
|
| 4 |
# To enable PIE and ld -z "now". |
| 5 |
# Experimental 5 Feb 2016 to silence lintian hardening-no-pie and |
| 6 |
# hardening-no-bindnow |
| 7 |
# https://wiki.debian.org/HardeningWalkthrough#Selecting_security_hardening_options |
| 8 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ --with autoreconf |
| 12 |
|
| 13 |
override_dh_auto_build: |
| 14 |
dh $@ |
| 15 |
|
| 16 |
override_dh_installdocs: |
| 17 |
dh_installdocs |
| 18 |
|
| 19 |
override_dh_makeshlibs: |
| 20 |
dh_makeshlibs -V |
| 21 |
|
| 22 |
override_dh_clean: |
| 23 |
$(RM) -f doc/doxygen.conf |
| 24 |
$(RM) -r doc/html |
| 25 |
if [ -f Makefile ]; then $(MAKE) clean; fi |
| 26 |
dh_clean |