| 1 |
|
| 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 |
|
| 8 |
export READTHEDOCSscip-debian debian breathe 4.36.0-2 breathe/rules/READTHEDOCS.=True |
| 9 |
|
| 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 |
|
| 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 |
|
| 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 |
documention |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
override_dh_installdocsscip-debian debian breathe 4.36.0-2 breathe/rules/override_dh_installdocs().: |
| 37 |
|
| 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().dh_sphinxdocscip-debian debian debhelper . dh_sphinxdoc(). |
| 42 |
|
| 43 |
dh_sphinxdocscip-debian debian debhelper . dh_sphinxdoc(). -Xtex-mml-chtml.js |