Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=itango
4
5 # Disabling tests to prevent unittest loader from misinterpreting the
6 # itango/ directory as a test module, which leads to a _FailedTest error.
7 # The upstream package does not provide test files, causing the unittest to fail.
8 export PYBUILD_DISABLE=test
9
10 # sphinxdoc is available only when building the arch-all packages
11 WITH_SPHINXDOC = $(shell if [ -x /usr/bin/dh_sphinxdoc ]; then echo "--with sphinxdoc"; fi)
12
13 %:
14 dh $@ --with python3 $(WITH_SPHINXDOC) --buildsystem=pybuild
15
16 override_dh_auto_build:
17 dh_auto_build
18 PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman doc/ build/man
19 cp build/man/itango.1 build/man/itango3.1
20 PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/sphinx/html
21
22 override_dh_auto_clean:
23 dh_auto_clean
24 rm -rf build
25 rm -rf *.egg-info