debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | #export DH_VERBOSE = 1 |
| 5 | |
| 6 | export PYBUILD_NAME=mergedeep |
| 7 | |
| 8 | %: |
| 9 | dh $@ --buildsystem=pybuild |
| 10 | |
| 11 | override_dh_clean: |
| 12 | dh_clean |
| 13 | rm -rf .mypy_cache |
| 14 | |
| 15 | override_dh_sphinxdoc: |
| 16 | ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) |
| 17 | PYTHONPATH=. python3 -m sphinx -b html -N docs/source/ $(CURDIR)/debian/python-mergedeep-doc/usr/share/doc/python-mergedeep-doc/html |
| 18 | dh_sphinxdoc |
| 19 | endif |