File: rules

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

export PYBUILD_NAME=tidylib

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

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

override_dh_auto_clean:
	rm -rf debian/html
	rm -rf debian/latex
	dh_auto_clean

override_dh_installdocs:
	dh_installdocs -A README

override_dh_compress:
	dh_compress -X.pdf