Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
4 #export DH_VERBOSE = 1
5
6 include /usr/share/dpkg/pkg-info.mk
7
8 export BUILD_DATEscip-debian debian radon 6.0.1+ds1-4 radon/rules/BUILD_DATE.=$(shellscip-debian debian radon 6.0.1+ds1-4 radon/rules/shell. LC_ALL=C date -u "+%B %d, %Y" -d @"$(SOURCE_DATE_EPOCH)")
9
10 # Prevent setuptools/distribute from accessing the internet.
11 export http_proxyscip-debian debian radon 6.0.1+ds1-4 radon/rules/http_proxy. = http://127.0.9.1:9
12
13 # This has to be exported to make some magic below work.
14 export DH_OPTIONSscip-debian debian radon 6.0.1+ds1-4 radon/rules/DH_OPTIONS.
15 export PYBUILD_NAMEscip-debian debian radon 6.0.1+ds1-4 radon/rules/PYBUILD_NAME.=radon
16
17 %scip-debian debian radon 6.0.1+ds1-4 radon/rules/`%`().:
18 dh $@ --with sphinxdoc --buildsystem=pybuild
19
20 override_dh_auto_buildscip-debian debian radon 6.0.1+ds1-4 radon/rules/override_dh_auto_build().:
21 mkdir -p debian/python-radon-doc/usr/share/doc/python-radon-doc/html/_static/
22 ln -s /usr/share/javascript/mathjax/MathJax.js debian/python-radon-doc/usr/share/doc/python-radon-doc/html/_static/MathJax.js
23 python3 setup.py build
24 make -C docs/ html SPHINXBUILD="/usr/share/sphinx/scripts/python3/sphinx-build" SPHINXOPTS="-j 4 -D today=\"$(BUILD_DATEscip-debian debian radon 6.0.1+ds1-4 radon/rules/BUILD_DATE.)\""
25 find . -name objects.inv -delete
26
27 override_dh_auto_installscip-debian debian radon 6.0.1+ds1-4 radon/rules/override_dh_auto_install().:
28 mkdir -p debian/python-radon-doc/usr/share/doc/python-radon-doc/html/_static/
29 ln -s /usr/share/javascript/mathjax/MathJax.js debian/python-radon-doc/usr/share/doc/python-radon-doc/html/_static/MathJax.js
30 python3 setup.py install --root=$(CURDIRscip-debian debian radon 6.0.1+ds1-4 radon/rules/CURDIR.)/debian/radon/ --install-layout=deb
31 rst2man debian/radon.rst > debian/radon.1
32 dh_installmanscip-debian debian debhelper . dh_installman(). -pradon debian/radon.1
33 find . -name objects.inv -delete
34
35 override_dh_auto_testscip-debian debian radon 6.0.1+ds1-4 radon/rules/override_dh_auto_test().:
36 # uses autopkgtest due to avoid adding extra build deps
37 true
38
39 override_dh_auto_cleanscip-debian debian radon 6.0.1+ds1-4 radon/rules/override_dh_auto_clean().:
40 python3 setup.py clean -a
41 find . -path '*/__pycache__/*' -delete
42 find . -type d -name '__pycache__' -empty -delete
43 ${RMscip-debian debian radon 6.0.1+ds1-4 radon/rules/RM.} -r docs/_build/ radon.egg-info .pytest_cache