#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ override_dh_auto_configure: dh_auto_configure -- --enable-libwrap override_dh_auto_install: dh_auto_install -- prefix=$(CURDIR)/debian/ample/usr \ sysconfdir=$(CURDIR)/debian/ample/etc/ample override_dh_auto_clean: if [ -e Makefile ]; then make clean; fi rm -rf Makefile config.h config.log config.status docs/Makefile src/Makefile dh_auto_clean # ample doesn't support dh_dwz on Debian Buster. override_dh_dwz: @VER=$(shell cat /etc/os-release | grep -i buster); \ [ "$$VER" ] || dh_dwz