| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # See debhelper(7) (uncomment to enable). |
| 4 | # Output every command that modifies files on the build system. |
| 5 | #export DH_VERBOSE = 1 |
| 6 | |
| 7 | export PYBUILD_NAME=acstore |
| 8 | |
| 9 | %: |
| 10 | dh $@ --buildsystem=pybuild --with sphinxdoc |
| 11 | |
| 12 | |
| 13 | # If you need to rebuild the Sphinx documentation: |
| 14 | # Add sphinxdoc to the dh --with line. |
| 15 | # |
| 16 | # And uncomment the following lines. |
| 17 | execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9 |
| 18 | execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9 |
| 19 | execute_after_dh_auto_build-indep: export PYTHONPATH=$(CURDIR) |
| 20 | execute_after_dh_auto_build-indep: |
| 21 | python3 -m sphinx -N -bhtml docs/ build/html |
| 22 | |
| 23 | override_dh_auto_test: |