#!/usr/bin/make -f # DH_VERBOSE := 1 export LC_ALL=C.UTF-8 include /usr/share/dpkg/default.mk export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) cp -a example example.bak dh_auto_test rm -rf example mv example.bak example endif