File: rules

package info (click to toggle)
python-kajiki 0.5.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 688 kB
  • ctags: 595
  • sloc: python: 5,981; makefile: 115
file content (14 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export PYBUILD_NAME=kajiki

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


override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
	PYTHONPATH=. sphinx-build -b html docs $(CURDIR)/debian/python-kajiki-doc/usr/share/doc/python-kajiki-doc/html
	dh_sphinxdoc -O--buildsystem=pybuild
endif