File: rules

package info (click to toggle)
python-repoze.tm2 2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 252 kB
  • ctags: 148
  • sloc: python: 433; makefile: 64
file content (16 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

#DH_VERBOSE=1
PYBUILD_NAME=python-repoze.tm2

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

override_dh_installchangelogs:
	dh_installchangelogs -i CHANGES.rst

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