File: rules

package info (click to toggle)
cloud-sptheme 1.10.1.post20200504175005-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,208 kB
  • sloc: python: 1,384; javascript: 147; makefile: 7; sh: 6
file content (10 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
export PYBUILD_AFTER_BUILD += \
	SPHINX_THEME="classic" http_proxy="127.0.0.1:9" \
	{interpreter} -m sphinx -N -b html docs/ $(CURDIR)/debian/cloud-sptheme/docs/html
endif