| 1 | #! /usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=dictdiffer |
| 4 | %: |
| 5 | dh $@ --buildsystem=pybuild |
| 6 | |
| 7 | execute_after_dh_auto_install: |
| 8 | ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 9 | cd docs && \ |
| 10 | PYTHONPATH=$(CURDIR):$(CURDIR)/debian/python3-dictdiffer http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \ |
| 11 | sphinx-build -N -E -T -b html . $(CURDIR)/.pybuild/docs/html/ |
| 12 | rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees |
| 13 | endif |