File: rules

package info (click to toggle)
python-tidylib 0.2.1~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 176 kB
  • ctags: 86
  • sloc: python: 375; makefile: 16
file content (21 lines) | stat: -rwxr-xr-x 457 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
#!/usr/bin/make -f

%:
	dh $@ --with python2

override_dh_auto_build:
	dh_auto_build
	sphinx-build -b latex docs/rst debian/latex
	make -C debian/latex all-pdf
	sphinx-build -b html docs/rst debian/html
	rm -rf debian/html/_sources/
	rm -f debian/html/_static/jquery.js
	rm -f debian/html/._index.html
	rm -rf debian/html/.doctrees

override_dh_auto_clean:
	rm -rf debian/html
	rm -rf debian/latex
	find docs -name "*.pyc" -exec rm -rf {} +
	dh_auto_clean