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