Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/pkg-info.mk
4
5 SPHINXBUILDscip-debian debian breathe 4.36.0-2 breathe/rules/SPHINXBUILD.="/usr/share/sphinx/scripts/python3/sphinx-build"
6
7 # Build documentation for readthedocs
8 export READTHEDOCSscip-debian debian breathe 4.36.0-2 breathe/rules/READTHEDOCS.=True
9 # Do not build for Travis
10 export TRAVIS_CIscip-debian debian breathe 4.36.0-2 breathe/rules/TRAVIS_CI.=False
11
12 %scip-debian debian breathe 4.36.0-2 breathe/rules/`%`().:
13 dh $@ --buildsystem=pybuild
14
15 execute_after_dh_auto_cleanscip-debian debian breathe 4.36.0-2 breathe/rules/execute_after_dh_auto_clean().:
16 $(MAKEscip-debian debian breathe 4.36.0-2 breathe/rules/MAKE.) distclean
17 rm -rf html
18
19 execute_after_dh_auto_buildscip-debian debian breathe 4.36.0-2 breathe/rules/execute_after_dh_auto_build().:
20 ifeq (,$(filterscip-debian debian breathe 4.36.0-2 breathe/rules/filter. nodoc,$(DEB_BUILD_OPTIONSscip-debian debian breathe 4.36.0-2 breathe/rules/DEB_BUILD_OPTIONS.)))
21 # Link mathjax in _static
22 ln -s /usr/share/nodejs/mathjax-full \
23 documentation/source/_static/mathjax-full
24 env PYTHONPATH=$(shell pybuild --print {build_dir} --interpreter python3) BREATHE_GIT_TAG=v$(DEB_VERSION_UPSTREAM) \
25 $(MAKE) html SPHINXBUILD=$(SPHINXBUILD) DOXYGEN=/usr/bin/doxygen SPHINXOPTS="-v -E"
26 mv documentation/build/html html
27 # Hotfix for build path in documentation
28 sed -i -e 's@$(CURDIR)/@@g' html/*.html
29 endif
30
31 override_dh_auto_testscip-debian debian breathe 4.36.0-2 breathe/rules/override_dh_auto_test().:
32 # We test breathe by building the documention. The documentation has already
33 # been built for the default Python 3 version, so we do not need to do this
34 # again.
35
36 override_dh_installdocsscip-debian debian breathe 4.36.0-2 breathe/rules/override_dh_installdocs().:
37 # Do not copy mathjax to the binary package
38 dh_installdocsscip-debian debian debhelper . dh_installdocs(). -X_static/mathjax-full
39
40 override_dh_sphinxdocscip-debian debian breathe 4.36.0-2 breathe/rules/override_dh_sphinxdoc().:
41 # dh_linkscip-debian debian debhelper . dh_link(). creates the link for mathjax after dh_sphinxdocscip-debian debian debhelper . dh_sphinxdoc()., so ignore
42 # tex-mml-chtml.js
43 dh_sphinxdocscip-debian debian debhelper . dh_sphinxdoc(). -Xtex-mml-chtml.js