File: rules

package info (click to toggle)
pdfposter 0.7.post1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 400 kB
  • sloc: python: 521; makefile: 23
file content (18 lines) | stat: -rwxr-xr-x 473 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

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

override_dh_auto_build:
	dh_auto_build
	python3 setup.py build_docs
	cd docs && make html BUILDDIR=../debian

override_dh_auto_clean:
	dh_auto_clean
	rm -r pdftools.pdfposter.egg-info
	rm -f pdfposter.1
	rm -rf debian/html

override_dh_auto_install:
	python3 setup.py install --root=debian/pdfposter --install-layout=deb --install-lib=/usr/share/pdfposter --install-scripts=/usr/share/pdfposter