Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 include /usr/share/dpkg/pkg-info.mk
7
8 export PYBUILD_NAME=django-sekizai
9 export PYBUILD_TEST_ARGS=--ds tests.settings
10
11 %:
12 dh $@ --buildsystem=pybuild
13
14 override_dh_sphinxdoc:
15 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
16 PYTHONPATH=. python3 -m sphinx -b html -N docs/ $(CURDIR)/debian/python-django-sekizai-doc/usr/share/doc/python-django-sekizai-doc/html
17 dh_sphinxdoc
18 endif
19
20 override_dh_clean:
21 rm -rf docs/.build
22 dh_clean