File: rules

package info (click to toggle)
python-xlrd 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,336 kB
  • sloc: python: 8,422; makefile: 119
file content (16 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME = xlrd

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

override_dh_installdocs:
	dh_installdocs
	PYTHONPATH=. sphinx-build -N -q -E -b html docs \
		debian/python-xlrd-docs/usr/share/doc/python-xlrd-docs/

override_dh_auto_install:
	dh_auto_install
	mv debian/python-xlrd/usr/bin/runxlrd.py debian/python-xlrd/usr/bin/runxlrd
	rm debian/python3-xlrd/usr/bin/runxlrd.py