debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME = ncclient |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=pybuild --with sphinxdoc |
| 7 | |
| 8 | # Split package and documentation |
| 9 | execute_before_dh_sphinxdoc: |
| 10 | python3 -m sphinx -b html docs/source/ $(CURDIR)/debian/python-ncclient-doc/usr/share/doc/python-ncclient/html |
| 11 | |
| 12 | execute_after_dh_auto_clean: |
| 13 | rm -fr docs/build |