1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
export PYBUILD_NAME=pysnmp
%:
dh $@ --with sphinxdoc --buildsystem=pybuild
execute_after_dh_auto_clean:
rm -f pysnmp/hlapi/__init__.py
execute_before_dh_auto_build:
touch pysnmp/hlapi/__init__.py
# There are no unittests, but some documentation string may be
# executed while they are not really unittests.
override_dh_auto_test:
execute_after_dh_installdocs:
http_proxy=http://127.0.0.1:9 \
https_proxy=https://127.0.0.1:9 \
PYTHONPATH=. python3 -m sphinx -N -q -E -b html docs/source/ \
debian/python-pysnmp4-doc/usr/share/doc/python-pysnmp4-doc/html/
|