#!/usr/bin/make -f
%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=$(CURDIR)/src $(MAKE) -C docs html
endif

override_dh_installdocs:
	dh_installdocs -ppython-plaster-doc --doc-main-package=python3-plaster
	dh_installdocs --remaining-packages
