#!/usr/bin/make -f export PYBUILD_NAME=multipletau export PYBUILD_TEST_PYTEST=1 export LC_ALL=C.UTF-8 %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild override_dh_auto_build: dh_auto_build PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # see d/patches/packaged-mathjax.path # Link mathjax in _static ln -s /usr/share/javascript/mathjax \ build/html/_static/mathjax override_dh_installdocs: dh_installdocs -ppython-multipletau-doc build/html dh_installdocs -A override_dh_sphinxdoc: # dh_link creates the link for mathjax after dh_sphinxdoc, so ignore # MathJax.js dh_sphinxdoc -XMathJax.js