debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | #DH_VERBOSE = 1 |
| 3 | |
| 4 | export PYBUILD_DESTDIR=debian/python3-jsonpickle |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=pybuild |
| 8 | |
| 9 | execute_after_dh_auto_install: |
| 10 | find $(CURDIR) -name .coverage -delete |
| 11 | |
| 12 | ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) |
| 13 | execute_before_dh_sphinxdoc: |
| 14 | JSONPICKLE_SPHINX_DISABLE=intersphinx sphinx-build -b html docs/ $(CURDIR)/debian/python-jsonpickle-doc/usr/share/doc/python-jsonpickle-doc/html |
| 15 | endif |