Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 #export DH_VERBOSE = 1
5
6 include /usr/share/dpkg/pkg-info.mk
7
8 BUILD_DATE = $(shell LC_ALL=C date -u "+%d %B %Y" -d "@$(SOURCE_DATE_EPOCH)")
9 SPHINXOPTS := -E -N -D html_last_updated_fmt="$(BUILD_DATE)"
10
11 export PYBUILD_NAME=flaskext.wtf
12
13 %:
14 dh $@ --buildsystem=pybuild
15
16 override_dh_sphinxdoc:
17 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
18 cd docs && rm -f license.rst
19 PYTHONPATH=`dirname $$(find .pybuild/ -type d -name "flask_wtf*dist-info" | head -n1)` \
20 python3 -m sphinx -b html $(SPHINXOPTS) docs/ $(CURDIR)/debian/python-flaskext.wtf-doc/usr/share/doc/python-flaskext.wtf-doc/html
21 dh_sphinxdoc
22 endif