Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # uncomment to output every command that modifies files on the build system.
3 #export DH_VERBOSE = 1
4
5 export PYBUILD_NAME=anonip
6
7 # tests.py doesn't match the pattern used to discover tests. So this
8 # has to be # specified explicitly here. See
9 # https://github.com/DigitaleGesellschaft/Anonip/pull/69.
10 export PYBUILD_TEST_ARGS=tests.py
11
12 execute_before_dh_installman:
13 PYTHONPATH=. help2man -N --include=debian/help2man.include --output=debian/anonip.1 debian/anonip/usr/bin/anonip
14
15 # The pytest cov plugin creates a .coverage file that shouldn't end up in the
16 # distributed package, so remove it.
17 execute_after_dh_auto_test:
18 find -name .coverage -delete -print
19
20 %:
21 dh $@ --buildsystem=pybuild