#!/usr/bin/make -f export PYBUILD_NAME = pyrr ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) export PYBUILD_AFTER_INSTALL=$(CURDIR)/debian/rules make-docs PYTHONPATH=$(CURDIR)/debian/python3-$(PYBUILD_NAME){install_dir} endif %: dh $@ --buildsystem=pybuild make-docs: sphinx-build -M html $(CURDIR)/docs/source $(CURDIR)/docs/_build