| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # export DH_VERBOSE = 1 |
| 4 | |
| 5 | export PYBUILD_NAME = installer |
| 6 | |
| 7 | export PYBUILD_TEST_ARGS = -rsx -v |
| 8 | |
| 9 | %: |
| 10 | dh $@ --buildsystem pybuild |
| 11 | |
| 12 | execute_after_dh_auto_build: |
| 13 | ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 14 | PYTHONPATH=$(CURDIR)/src/ \ |
| 15 | http_proxy=http://127.0.0.1:9 \ |
| 16 | https_proxy=https://127.0.0.1:9 \ |
| 17 | python3 -m sphinx -N -bhtml docs/ build/html |
| 18 | endif |