Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 export LC_ALLscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/LC_ALL.=C.UTF-8
3 export PYBUILD_BEFORE_TESTscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/PYBUILD_BEFORE_TEST. = cp -r {dir}/bmtk/tests {build_dir}/bmtk/
4
5 include /usr/share/dpkg/default.mk
6
7 %scip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/`%`().:
8 dh $@ --with sphinxdoc --buildsystem=pybuild
9
10 execute_after_dh_auto_buildscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/execute_after_dh_auto_build().: export http_proxy=127.0.0.1:9
11 execute_after_dh_auto_buildscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/execute_after_dh_auto_build().: export https_proxy=127.0.0.1:9
12 execute_after_dh_auto_buildscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/execute_after_dh_auto_build().:
13 sphinx-apidoc -f -o docs/autodocs/source/bmtk/ bmtk
14 PYTHONPATH=. python3 -m sphinx -N -bhtml docs/autodocs/source/ build/html # HTML generator
15
16 execute_before_dh_installscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/execute_before_dh_install().:
17 find docs -type f -size 0 -print -exec rm {\} \;
18 find build -type f -size 0 -print -exec rm {\} \;
19 find . -name "*.json" -exec chmod -x {\} \;
20 find . -name "*.nml" -exec chmod -x {\} \;
21 find . -name "*.swc" -exec chmod -x {\} \;
22 find . -name "*.csv" -exec chmod -x {\} \;
23 find . -name "*.h5" -exec chmod -x {\} \;
24 find . -name "*.mod" -exec chmod -x {\} \;
25 find . -name tutorial_filter_models.html | xargs sed -i '/<img[[:space:]]/ s/alt\=\"[^"]*"//g'
26 find . -name tutorial_pointnet_modeling.html | xargs sed -i '/<img[[:space:]]/ s/alt\=\"[^"]*"//g'
27 dh_installscip-debian debian debhelper . dh_install().
28
29 EXAMPLES_ROOTscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/EXAMPLES_ROOT. = $(CURDIRscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/CURDIR.)/debian/python3-bmtk-examples
30 EXAMPLES_DIRscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/EXAMPLES_DIR. = $(EXAMPLES_ROOTscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/EXAMPLES_ROOT.)/usr/share/doc/python3-bmtk-examples/examples
31 execute_after_dh_installexamples-indepscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/execute_after_dh_installexamples-indep().:
32 @ echo "I: Fix examples headers for running as python3 scripts."
33 find $(EXAMPLES_DIRscip-debian debian bmtk 1.1.1+ds-5 bmtk/rules/EXAMPLES_DIR.)/ \
34 -name "*.py" \
35 -exec sed -i '1i\#!/usr/bin/python3' {\} \;