#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ override_dh_auto_configure: dh_auto_configure -- --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf override_dh_auto_install: dh_auto_install # Upstream installs documentation into a hardcoded testdisk docdir; # drop it so docs are handled per binary package via debian/docs. rm -rf debian/tmp/usr/share/doc override_dh_missing: dh_missing --fail-missing override_dh_auto_clean: dh_auto_clean -rm -f src/*.d override_dh_strip: dh_strip --dbgsym-migration='testdisk-dbg (<< 7.1-5+nmu1~)'