File: rules

package info (click to toggle)
xlwt 1.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,036 kB
  • sloc: python: 8,615; makefile: 134
file content (15 lines) | stat: -rwxr-xr-x 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME=xlwt

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

override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
	PYTHONPATH=. python3 -m sphinx -b html docs $(CURDIR)/debian/python-xlwt-doc/usr/share/doc/python-xlwt-doc/html
	dh_sphinxdoc
endif

override_dh_compress:
	dh_compress -i -X.py