| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAMEscip-makefile . . . PYBUILD_NAME.=itsdangerous |
| 4 | export DEB_BUILD_MAINT_OPTIONSscip-makefile . . . DEB_BUILD_MAINT_OPTIONS.=hardening=+all |
| 5 | export PYDEFAULTscip-makefile . . . PYDEFAULT.=`py3versions -d -v` |
| 6 | |
| 7 | %scip-makefile . . . `%`/: |
| 8 | dh $@scip-makefile . . . `@`. --buildsystem=pybuild |
| 9 | |
| 10 | override_dh_sphinxdocscip-makefile . . . override_dh_sphinxdoc/: |
| 11 | ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) |
| 12 | PYTHONPATH=.pybuild/cpython3_$(PYDEFAULTscip-makefile . . . PYDEFAULT.)_itsdangerous/build/ python3 -m sphinx -b html docs $(CURDIRscip-makefile . . . CURDIR.)/debian/python-itsdangerous-doc/usr/share/doc/python-itsdangerous-doc/html |
| 13 | dh_sphinxdoc -O--buildsystem=pybuild |
| 14 | endif |
| 15 | |
| 16 | override_dh_installchangelogsscip-makefile . . . override_dh_installchangelogs/: |
| 17 | dh_installchangelogs CHANGES.rst |