| 1 |
|
| 2 |
|
| 3 |
export PYBUILD_NAME=doxysphinx |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ --buildsystem=pybuild |
| 7 |
|
| 8 |
override_dh_auto_test: |
| 9 |
|
| 10 |
execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9 |
| 11 |
execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9 |
| 12 |
execute_after_dh_auto_build-indep: |
| 13 |
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 14 |
PYTHONPATH=. python3 -m sphinx -N -bhtml \ |
| 15 |
./ build/html # HTML generator |
| 16 |
PYTHONPATH=. python3 -m sphinx -N -bman \ |
| 17 |
./ build/man # Manpage generator |
| 18 |
endif |
| 19 |
|
| 20 |
override_dh_clean: |
| 21 |
dh_clean |
| 22 |
-rm -rf docs/auto_api/ |