| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=django-modeltranslation |
| 4 | export PYBUILD_TEST_ARGS={dir}/modeltranslation/tests |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=pybuild |
| 8 | |
| 9 | override_dh_sphinxdoc: |
| 10 | ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) |
| 11 | PYTHONPATH=. python3 -m sphinx -b html -N docs/modeltranslation $(CURDIR)/debian/python-django-modeltranslation-doc/usr/share/doc/python-django-modeltranslation-doc/html |
| 12 | dh_sphinxdoc |
| 13 | endif |