| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE = 1 |
| 3 |
|
| 4 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_configure: |
| 10 |
dh_auto_configure -- --enable-libwrap |
| 11 |
|
| 12 |
override_dh_auto_install: |
| 13 |
dh_auto_install -- prefix=$(CURDIR)/debian/ample/usr \ |
| 14 |
sysconfdir=$(CURDIR)/debian/ample/etc/ample |
| 15 |
|
| 16 |
override_dh_auto_clean: |
| 17 |
if [ -e Makefile ]; then make clean; fi |
| 18 |
rm -rf Makefile config.h config.log config.status docs/Makefile src/Makefile |
| 19 |
dh_auto_clean |
| 20 |
|
| 21 |
# ample doesn't support dh_dwz on Debian Buster. |
| 22 |
override_dh_dwz: |
| 23 |
@VER=$(shell cat /etc/os-release | grep -i buster); \ |
| 24 |
[ "$$VER" ] || dh_dwz |