Debian Codegraph @

debian/rules

raw
1 #! /usr/bin/make -f
2
3 export PYBUILD_NAME=mpl-sphinx-theme
4 %:
5 dh $@ --with sphinxdoc --buildsystem=pybuild
6
7 override_dh_auto_build-indep:
8 dh_auto_build -i
9 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
10 cd docs && \
11 PYTHONPATH=$(CURDIR) http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \
12 sphinx-build -N -E -T -b html . $(CURDIR)/.pybuild/docs/html/
13 rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees
14 endif
15 execute_before_dh_sphinxdoc:
16 find debian/python3-mpl-sphinx-theme/usr -path '*/images/favicon.ico' -execdir rm -r '{}' \;
17 jdupes -rl debian/python-mpl-sphinx-theme-doc/usr/
18
19 override_dh_installdocs:
20 dh_installdocs -X.woff -X.ttf