Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 #export DH_VERBOSE = 1
5
6 export PYBUILD_NAME=lunr
7 # The tests requiring external data from the NLTK index, tests disabled for now.
8 export PYBUILD_DISABLE=test
9
10 %:
11 dh $@ --buildsystem=pybuild
12
13 override_dh_sphinxdoc:
14 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
15 PYTHONPATH=. python3 -m sphinx -b html -N docs $(CURDIR)/debian/python-lunr-doc/usr/share/doc/python-lunr-doc/html
16 dh_sphinxdoc
17 endif