#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh ${@} --with autotools_dev

override_dh_auto_configure:
	dh_auto_configure -- CFLAGS="$(CFLAGS) $(CPPFLAGS)"

override_dh_auto_install:
	dh_auto_install -- INSTALLROOT=$(CURDIR)/debian/fatattr

override_dh_strip:
	dh_strip --dbg-package=fatattr-dbg

override_dh_builddeb:
	dh_builddeb -- -Zxz -z9
