| 1 |
#!/usr/bin/make -f |
| 2 |
# See debhelper(7) (uncomment to enable) |
| 3 |
# output every command that modifies files on the build system. |
| 4 |
#export DH_VERBOSE = 1 |
| 5 |
|
| 6 |
export PYBUILD_NAME=logzero |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ --with python3,sphinxdoc --buildsystem=pybuild |
| 10 |
|
| 11 |
override_dh_auto_build: |
| 12 |
dh_auto_build |
| 13 |
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator |
| 14 |
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator |
| 15 |
|
| 16 |
override_dh_auto_clean: |
| 17 |
dh_auto_clean |
| 18 |
rm -rf $(CURDIR)/.pytest_cache |