File: rules

package info (click to toggle)
python-tidylib 0.3.2~dfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 152 kB
  • sloc: python: 411; sh: 14; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=tidylib

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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=$(CURDIR) python3 -m sphinx -b latex docs/rst debian/latex
	make -C debian/latex all-pdf
	PYTHONPATH=$(CURDIR) python3 -m sphinx -b html docs/rst debian/html

override_dh_installdocs:
	dh_installdocs -A README

override_dh_compress:
	dh_compress -X.pdf