Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 #export DH_VERBOSE = 1
3
4 export PYBUILD_NAME=bidict
5 export PYBUILD_AFTER_TEST=rm -rf .pytest_cache
6
7 %:
8 dh $@ --buildsystem=pybuild
9
10 override_dh_sphinxdoc:
11 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
12 PYTHONPATH=$(wildcard $(CURDIR)/.pybuild/cpython3_*/build) \
13 python3 -m sphinx -b html docs \
14 $(CURDIR)/debian/python-bidict-doc/usr/share/doc/python-bidict-doc/html
15 dh_sphinxdoc
16 rm -f $(CURDIR)/debian/python-bidict-doc/usr/share/doc/python-bidict-doc/html/_static/custom.js
17 endif
18
19 execute_after_dh_auto_test:
20 find .pybuild -type d -name .pytest_cache -print0 | xargs -0r rm -rfv