debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | #export DH_VERBOSE=1 |
| 4 | export PYBUILD_NAME=odoorpc |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=pybuild --with python3,sphinxdoc |
| 8 | |
| 9 | override_dh_auto_build: doc/sphinx_ext |
| 10 | dh_auto_build |
| 11 | PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml doc/source build/html |
| 12 | |
| 13 | doc/sphinx_ext: |
| 14 | cd doc; ln -sf ../sphinx_ext/ . |
| 15 | |
| 16 | override_dh_clean: |
| 17 | dh_clean |
| 18 | rm -f doc/sphinx_ext |