#!/usr/bin/make -f #export DH_VERBOSE=1 export PYBUILD_NAME=tomlkit export PYBUILD_TEST_PYTEST=1 %: dh $@ --buildsystem=pybuild ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) execute_before_dh_installdocs: PYTHONPATH=.:$PYTHONPATH sphinx-build -b text docs debian endif # The original source tarball contains a changelog whose mtime is the epoch, # which dak would reject if it found it in our binary package. execute_after_dh_installchangelogs: touch -d"@$$(dpkg-parsechangelog -STimestamp)" debian/python3-tomlkit/usr/share/doc/python3-tomlkit/changelog override_dh_auto_clean: rm -f debian/*.txt rm -rf debian/.doctrees dh_auto_clean