Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 #export DH_VERBOSE=1
3 #export DEB_BUILD_OPTIONS=nocheck
4 export PYBUILD_NAME=manuel
5 export PYBUILD_TEST_CUSTOM=1
6 export PYBUILD_TEST_ARGS={interpreter} -m unittest -v manuel.tests.test_suite
7
8 %:
9 dh $@ --with sphinxdoc --buildsystem=pybuild
10
11 override_dh_auto_install:
12 dh_auto_install
13 rm -f debian/python*-manuel/usr/lib/python*/dist-packages/manuel/*.txt
14 rm -f debian/python*-manuel/usr/lib/python*/dist-packages/manuel/tests.py
15 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
16 PYTHONPATH=. http_proxy='127.0.0.1:9' \
17 python3 -m sphinx -N -bhtml -c sphinx src/manuel debian/python3-manuel/usr/share/doc/python3-manuel/html
18 endif
19
20 override_dh_installchangelogs:
21 dh_installchangelogs CHANGES.rst