#!/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
