Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 #export DH_VERBOSE=1
4
5 export PYBUILD_NAME = aioitertools
6
7 %:
8 dh $@ --buildsystem=pybuild
9
10 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
11 execute_after_dh_auto_build:
12 PYTHONPATH=$$(pwd) sphinx-build -W -b html docs docs/_build/html
13 endif
14
15 override_dh_installdocs:
16 dh_installdocs -ppython-$(PYBUILD_NAME)-doc --doc-main-package=python3-$(PYBUILD_NAME)
17 dh_installdocs --remaining-packages
18
19 override_dh_compress:
20 dh_compress -ppython-$(PYBUILD_NAME)-doc -X.html
21 dh_compress --remaining-packages
22
23 execute_after_dh_auto_clean:
24 rm -rf docs/_build