#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM) %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild execute_after_dh_auto_build: # A rather dirty way of preventing information being built into man-page, # in case we want to build the complete documentation in a separate package. rm -f docs/installation.rst rm -f docs/quickstart.rst PYTHONPATH=. python3 -m sphinx -N -bman docs/ build/man # Manpage generator override_dh_installchangelogs: dh_installchangelogs NEWS.md