#!/usr/bin/make -f export DH_VERBOSE=1 export PYBUILD_NAME=m2crypto export DEB_BUILD_MAINT_OPTIONS=hardening=+all export PYBUILD_TEST_ARGS=--ignore tests/test_ssl.py export PYBUILD_AFTER_BUILD=PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' python3 -m sphinx -N doc html export OPENSSL_CONF=$(CURDIR)/debian/openssl.cnf export http_proxy= export https_proxy= # override settings from pybuild, unset them is needed for tests %: dh $@ --buildsystem=pybuild override_dh_installdocs: rst2html -r 5 README.rst .pybuild/README.html LC_LANG=C.UTF-8 links -dump .pybuild/README.html > .pybuild/README dh_installdocs -A .pybuild/README