Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 #export DH_VERBOSE = 1
5
6 export PYBUILD_NAME=ptufile
7 export PYBUILD_AFTER_INSTALL=rm -fr {destdir}/usr/lib/python3*/dist-packages/ptufile-*/top_level.txt
8 # Disable testsuite: requires external data not included in upstream source
9 # Instead of this, autopkgtest was configured and enabled.
10 export PYBUILD_DISABLE=test
11
12 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
13
14 %:
15 dh $@ --with numpy3 --buildsystem=pybuild
16
17 execute_after_dh_auto_build:
18 # copy prewritten manpage
19 cp debian/ptufile.1.in ptufile.1
20
21 execute_after_dh_auto_install:
22 dh_installman ptufile.1