#!/usr/bin/make -f # -*- makefile -*- #export DH_VERBOSE = 1 export PYBUILD_NAME=ptufile export PYBUILD_AFTER_INSTALL=rm -fr {destdir}/usr/lib/python3*/dist-packages/ptufile-*/top_level.txt # Disable testsuite: requires external data not included in upstream source # Instead of this, autopkgtest was configured and enabled. export PYBUILD_DISABLE=test export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ --buildsystem=pybuild execute_after_dh_auto_build: # copy prewritten manpage cp debian/ptufile.1.in ptufile.1 execute_after_dh_auto_install: dh_installman ptufile.1