Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DH_VERBOSE=1
4 export PYBUILD_NAME=bibtexparser
5 export PYBUILD_BEFORE_TEST=cp -ar {dir}/bibtexparser {build_dir};cd {build_dir};
6 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/bibtexparser/tests
7 export PYBUILD_TEST_ARGS={build_dir}/bibtexparser/tests/
8 export LC_ALL=C.UTF-8
9
10 %:
11 dh $@ --with sphinxdoc --buildsystem=pybuild
12
13 execute_after_dh_auto_build:
14 cd $(CURDIR)/docs && make html
15
16 override_dh_installdocs:
17 dh_installdocs -ppython-bibtexparser-doc docs/build/html
18 dh_installdocs -A