| 1 |
|
| 2 |
|
| 3 |
export PYBUILD_NAME=sphinx_contributors |
| 4 |
|
| 5 |
export PYBUILD_TEST_ARGS=-v -k 'not test_contributor_directive' |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --with python3,sphinxdoc --buildsystem=pybuild |
| 9 |
|
| 10 |
override_dh_auto_install: |
| 11 |
dh_auto_install |
| 12 |
find debian/python3-sphinx-contributors -type d -name '__pycache__' -exec rm -rf {} + |
| 13 |
|
| 14 |
override_dh_installdocs: |
| 15 |
https_proxy='127.0.0.1:9' sphinx-build -b html docs/source build/sphinx/html |
| 16 |
dh_installdocs -ppython-sphinx-contributors-doc --doc-main-package=python-sphinx-contributors-doc build/sphinx/html |
| 17 |
dh_installdocs |