| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=autoray |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ --with python3 --buildsystem=pybuild |
| 7 |
|
| 8 |
override_dh_installdocs: |
| 9 |
mv docs/index.md docs/index.rst |
| 10 |
https_proxy='127.0.0.1:9' sphinx-build -b html docs build/sphinx/html |
| 11 |
dh_installdocs -ppython-autoray-doc --doc-main-package=python-autoray-doc build/sphinx/html |
| 12 |
dh_installdocs |
| 13 |
|
| 14 |
override_dh_auto_install: |
| 15 |
dh_auto_install |
| 16 |
# Remove coverage files from the package |
| 17 |
find $(CURDIR)/debian/python3-autoray \( -name '*.coverage' -o -name '*.xml' \) -type f -delete |