#!/usr/bin/make -f #export DH_VERBOSE = 1 export PYBUILD_NAME=dbutils DOCBUILD = debian/docbuild %: dh $@ --buildsystem=pybuild # Regenerate the HTML manual from the reST sources instead of shipping the # copies pre-built in the upstream tarball. execute_after_dh_auto_build: mkdir -p $(DOCBUILD) cp docs/main.rst docs/main.de.rst docs/doc.css docs/make.py $(DOCBUILD)/ cd $(DOCBUILD) && python3 make.py rm -f $(DOCBUILD)/make.py $(DOCBUILD)/doc.css execute_after_dh_auto_clean: rm -rf $(DOCBUILD) override_dh_installdocs: dh_installdocs --package=python-dbutils-doc --doc-main-package=python3-dbutils dh_installdocs --remaining-packages