debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=flask-bcrypt |
| 4 | |
| 5 | %: |
| 6 | dh $@ --with python3,sphinxdoc --buildsystem=pybuild |
| 7 | |
| 8 | override_dh_sphinxdoc: |
| 9 | ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) |
| 10 | PYTHONPATH=. python3 -m sphinx -b html -N docs $(CURDIR)/debian/python-flask-bcrypt-doc/usr/share/doc/python-flask-bcrypt-doc/html |
| 11 | dh_sphinxdoc |
| 12 | endif |