File: rules

package info (click to toggle)
python-repoze.tm2 2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 244 kB
  • sloc: python: 433; makefile: 64
file content (16 lines) | stat: -rwxr-xr-x 423 bytes parent folder | download | duplicates (3)
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)))
	python3 -m sphinx -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 python3,sphinxdoc --buildsystem=pybuild