#!/usr/bin/make -f include /usr/share/dpkg/pkg-info.mk export PYBUILD_NAME=django-ical export PYBUILD_TEST_ARGS=--ds=test_settings --pyargs django_ical.tests export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM) %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild execute_before_dh_sphinxdoc: ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) PYTHONPATH=$(CURDIR) python3 -m sphinx -b html -d $(CURDIR)/docs/.build/.doctrees -N $(CURDIR)/docs/source $(CURDIR)/debian/python-django-ical-doc/usr/share/doc/python-django-ical-doc/html endif execute_after_dh_clean: rm -rf $(CURDIR)/docs/.build