debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME = cloup |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=pybuild |
| 7 | |
| 8 | execute_after_dh_auto_build: |
| 9 | ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 10 | PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) \ |
| 11 | http_proxy='127.0.0.1:9' \ |
| 12 | https_proxy='127.0.0.1:9' \ |
| 13 | python3 -m sphinx -M html docs docs/_build |
| 14 | endif |