File: rules

package info (click to toggle)
python-tidylib 0.3.2~dfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 152 kB
  • sloc: python: 411; makefile: 12; sh: 7
file content (18 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download
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 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