#!/usr/bin/make -f export PYBUILD_NAME = mesonpy include /usr/share/dpkg/default.mk %: dh $@ --with sphinxdoc --buildsystem=pybuild override_dh_clean: dh_clean cp -a debian/upstream/$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz.asc .. execute_before_dh_auto_configure: # The tarball contains files with mtime normalized to 1970-01-01, # which the Debian archive rejects on the assumption that they # indicate a misbuilt package. find . -not -newermt @0 -exec touch -d "@$(SOURCE_DATE_EPOCH)" {} + execute_after_dh_auto_build: PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml docs/ build/html override_dh_installchangelogs: dh_installchangelogs CHANGELOG.rst