Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/pkg-info.mk
4
5 export PYBUILD_NAME=multipletau
6 export PYBUILD_TEST_PYTEST=1
7 export LC_ALL=C.UTF-8
8 export SETUPTOOLS_SCM_PRETEND_VERSION=${DEB_VERSION_UPSTREAM}
9
10 %:
11 dh $@ --with sphinxdoc --buildsystem=pybuild
12
13 override_dh_auto_build:
14 dh_auto_build
15 PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
16 # see d/patches/packaged-mathjax.path
17 # Link mathjax in _static
18 ln -s /usr/share/javascript/mathjax \
19 build/html/_static/mathjax
20
21 override_dh_installdocs:
22 dh_installdocs -ppython-multipletau-doc build/html
23 dh_installdocs -A
24
25 override_dh_sphinxdoc:
26 # dh_link creates the link for mathjax after dh_sphinxdoc, so ignore
27 # MathJax.js
28 dh_sphinxdoc -XMathJax.js