#!/usr/bin/make -f #export DH_VERBOSE=1 export PYBUILD_NAME = aioitertools %: dh $@ --with=sphinxdoc --buildsystem=pybuild ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) execute_after_dh_auto_build: PYTHONPATH=$$(pwd) sphinx-build -W -b html docs docs/_build/html endif override_dh_installdocs: dh_installdocs -ppython-$(PYBUILD_NAME)-doc --doc-main-package=python3-$(PYBUILD_NAME) dh_installdocs --remaining-packages override_dh_compress: dh_compress -ppython-$(PYBUILD_NAME)-doc -X.html dh_compress --remaining-packages execute_after_dh_auto_clean: rm -rf docs/_build