Debian Codegraph @

debian/rules

raw
1 #! /usr/bin/make -f
2
3 # Used as per the example from www.v13.gr/blog/?p=412
4 #DPKG_EXPORT_BUILDFLAGS = 1
5
6 #export DH_VERBOSE = 1
7 #export PYBUILD_NAME=humanfriendly
8 #export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/
9 #export PYBUILD_INSTALL_ARGS= --install-scripts=/dev/null
10
11 %:
12 dh $@ --buildsystem=pybuild
13
14 override_dh_auto_test:
15 PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="cd {build_dir} ; {interpreter} -m unittest humanfriendly/tests.py" dh_auto_test
16
17 override_dh_sphinxdoc:
18 python3 -m sphinx -q docs debian/python-humanfriendly-doc/usr/share/doc/python-humanfriendly-doc/html/
19 dh_sphinxdoc