| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# Output every command that modifies files on the build system. |
| 4 |
export DH_VERBOSE = 1 |
| 5 |
|
| 6 |
export PYBUILD_NAME=imapclient |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ --with python3,sphinxdoc --buildsystem=pybuild |
| 10 |
|
| 11 |
clean: |
| 12 |
# Avoid "unable to load addon sphinxdoc" error during clean-up |
| 13 |
dh $@ --with python3 --buildsystem=pybuild |
| 14 |
|
| 15 |
execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9 |
| 16 |
execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9 |
| 17 |
execute_after_dh_auto_build-indep: |
| 18 |
PYTHONPATH=. python3 -m sphinx -N -bhtml \ |
| 19 |
doc/src/ build/html # HTML generator |
| 20 |
PYTHONPATH=. python3 -m sphinx -N -bman \ |
| 21 |
doc/src/ build/man # Manpage generator |