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/default.mk
7
8 export PYBUILD_NAME=gsd
9
10 ifeq ($(DEB_HOST_ARCH),hurd-amd64)
11 TEST_ARGS_EXTRA = -k "not test_largefile"
12 endif
13
14 export PYBUILD_TEST_ARGS=$(CURDIR)/gsd/test $(TEST_ARGS_EXTRA)
15
16 %:
17 dh $@ --with python3,sphinxdoc --buildsystem=pybuild
18
19 override_dh_clean:
20 dh_clean
21 rm -f gsd/fl.c || /bin/true
22 rm -rf devdoc
23 rm -rf gsd/test/.pytest_cache
24
25 execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9
26 execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9
27 execute_after_dh_auto_build-indep:
28 doxygen
29 PYTHONPATH=$(shell pybuild --pyver `py3versions -dv` --print {build_dir}) READTHEDOCS=True sphinx-build -b html doc $(CURDIR)/.pybuild/html # HTML generator