#!/usr/bin/make -f export PYBUILD_NAME=django-modeltranslation export PYBUILD_TEST_ARGS={dir}/modeltranslation/tests %: dh $@ --buildsystem=pybuild ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) execute_before_dh_sphinxdoc: PYTHONPATH=. python3 -m sphinx -b html -N docs/modeltranslation $(CURDIR)/debian/python-django-modeltranslation-doc/usr/share/doc/python-django-modeltranslation-doc/html endif