Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=textparser
4
5 %:
6 dh $@ --buildsystem=pybuild
7
8 execute_after_dh_auto_build:
9 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
10 PYTHONPATH=$(CURDIR) python3 -m sphinx -N -E -bhtml docs/ $(CURDIR)/build/html
11 endif
12
13 execute_after_dh_fixperms:
14 # Examples are documentation, they must not be installed executable
15 chmod -x $(CURDIR)/debian/python3-textparser/usr/share/doc/python3-textparser/examples/benchmarks/json/parsers/*.py