Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 #export DH_VERBOSE=1
4 export PYBUILD_NAME=chameleon
5 export PYBUILD_TEST_ARGS=$(CURDIR) -s
6 # avoid installing the testsuite into the binary pkg
7 export PYBUILD_AFTER_INSTALL=find {destdir} -type d -name "tests" | xargs -r rm -vrf
8
9 %:
10 dh $@ --with python3,sphinxdoc --buildsystem=pybuild
11
12 override_dh_installchangelogs:
13 dh_installchangelogs CHANGES.rst
14
15 execute_before_dh_sphinxdoc:
16 PYTHONPATH=. python3 -m sphinx -b html docs debian/python-chameleon-doc/usr/share/doc/python-chameleon-doc/html