#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export PYBUILD_NAME=django-saml2 export PYBUILD_TEST_ARGS=--ds=tests.settings --pyargs djangosaml2.tests %: dh $@ --buildsystem=pybuild execute_before_dh_sphinxdoc: ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) python3 -m sphinx -b html -d $(CURDIR)/docs/.build/.doctrees -N $(CURDIR)/docs/source $(CURDIR)/debian/python-django-saml2-doc/usr/share/doc/python-django-saml2-doc/html endif execute_after_dh_clean: rm -rf $(CURDIR)/docs/.build/