debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | #export DH_VERBOSE=1 |
| 5 | export DH_OPTIONS |
| 6 | |
| 7 | export PYBUILD_NAME=colorzero |
| 8 | |
| 9 | %: |
| 10 | dh $@ --with python3,sphinxdoc --buildsystem=pybuild |
| 11 | |
| 12 | override_dh_auto_build: |
| 13 | dh_auto_build |
| 14 | PYTHONPATH=. sphinx-build -N -bhtml docs/ build/html |
| 15 | |
| 16 | override_dh_installdocs: |
| 17 | dh_installdocs --doc-main-package=python3-colorzero -ppython-colorzero-doc |
| 18 | dh_installdocs -ppython3-colorzero |
| 19 | |
| 20 | execute_after_dh_auto_clean: |
| 21 | rm -rf colorzero.egg-info |