| 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=signxml |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ --buildsystem=pybuild --with sphinxdoc |
| 11 |
|
| 12 |
override_dh_auto_build: |
| 13 |
cp -f $(CURDIR)/debian/for-test/rfc3161.txt $(CURDIR)/test/rfc3161.txt |
| 14 |
cp -r $(CURDIR)/debian/staimg $(CURDIR) |
| 15 |
dh_auto_build |
| 16 |
|
| 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: |
| 20 |
PYTHONPATH=. python3 -m sphinx -N -bhtml \ |
| 21 |
docs/ build/html # HTML generator |
| 22 |
PYTHONPATH=. python3 -m sphinx -N -bman \ |
| 23 |
docs/ build/man # Manpage generator |
| 24 |
|
| 25 |
override_dh_auto_clean: |
| 26 |
dh_auto_clean |
| 27 |
rm -rf $(CURDIR)/staimg |