| 1 | #! /usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAMEscip-makefile . . . PYBUILD_NAME.=dictdiffer |
| 4 | %scip-makefile . . . `%`/: |
| 5 | dh $@scip-makefile . . . `@`. --buildsystem=pybuild |
| 6 | |
| 7 | execute_after_dh_auto_installscip-makefile . . . execute_after_dh_auto_install/: |
| 8 | ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 9 | cd docs && \ |
| 10 | PYTHONPATH=$(CURDIRscip-makefile . . . CURDIR.):$(CURDIRscip-makefile . . . 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 . $(CURDIRscip-makefile . . . CURDIR.)/.pybuild/docs/html/ |
| 12 | rm -rf $(CURDIRscip-makefile . . . CURDIR.)/.pybuild/docs/html/.doctrees |
| 13 | endif |