Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=klepto
4
5 export PYBUILD_TEST_CUSTOM=1
6 export PYBUILD_TEST_ARGS={interpreter} -m klepto.tests
7
8 %:
9 dh $@ --with sphinxdoc --buildsystem=pybuild
10
11 ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
12 execute_after_dh_auto_build:
13 PYTHONPATH=$(CURDIR) $(MAKE) -C docs SPHINXBUILD=sphinx-build html
14
15 execute_after_dh_auto_clean:
16 $(MAKE) -C docs SPHINXBUILD=sphinx-build clean
17
18 override_dh_installdocs:
19 dh_installdocs -ppython-klepto-doc --doc-main-package=python3-klepto
20 dh_installdocs --remaining-packages
21 mv debian/python-klepto-doc/usr/share/doc/python3-klepto/build debian/python-klepto-doc/usr/share/doc/python3-klepto/html
22 endif