#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME = certbot-dns-rfc2136
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. \
http_proxy='127.0.0.1:9' \
https_proxy='127.0.0.1:9' \
sphinx-build -N -bhtml docs/ build/html
override_dh_installdocs:
dh_installdocs --doc-main-package=python3-certbot-dns-rfc2136 \
-p python-certbot-dns-rfc2136-doc
dh_installdocs -p python3-certbot-dns-rfc2136
override_dh_gencontrol:
echo "Abi-major-version=${DEB_VERSION_UPSTREAM}" | cut -d. -f1 >> debian/abi.substvars
echo "Abi-major-minor-version=${DEB_VERSION_UPSTREAM}" | cut -d. -f1,2 >> debian/abi.substvars
dh_gencontrol -- -Tdebian/abi.substvars