#!/usr/bin/make -f export BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d @"$(SOURCE_DATE_EPOCH)") export PYBUILD_DESTDIR=debian/black/ %: dh $@ --buildsystem=pybuild --with bash-completion execute_after_dh_auto_build: make -C docs/ html PYTHONPATH="..:../src/" SPHINXBUILD="/usr/share/sphinx/scripts/python3/sphinx-build" SPHINXOPTS="-j 4 -D today=\"$(BUILD_DATE)\"" execute_after_dh_auto_install: rm debian/black/usr/bin/blackd execute_before_dh_installman: rst2man debian/manpage.rst > debian/black.1 rst2man debian/manpage2.rst > debian/black-primer.1 override_dh_auto_test: