#!/usr/bin/make -f export PYBUILD_NAME=webpy %: dh $@ --buildsystem=pybuild --with python3,sphinxdoc override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) PYTHONPATH=$(CURDIR)/. $(MAKE) -C docs html cp -auxf docs/_build/html debian/python-webpy-doc/usr/share/doc/python-webpy-doc/html dh_sphinxdoc endif execute_after_dh_auto_install: rm -rf $(CURDIR)/debian/python3-webpy/usr/lib/python3.*/dist-packages/foo.py \ $(CURDIR)/debian/python3-webpy/usr/lib/python3.*/dist-packages/testpackage \ $(CURDIR)/debian/python3-webpy/usr/lib/python3.*/dist-packages/webpy.db