File: rules

package info (click to toggle)
pydispatcher 2.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 420 kB
  • sloc: python: 1,063; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME=pydispatch

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

override_dh_installdocs:
	cd docs/pydoc && PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=../.. ./builddocs.py
	find docs/pydoc -type f -name '*.html' -print0 | xargs -0r sed -i -e 's@<br><a href="file:.*</a>@@g'
	dh_installdocs

override_dh_installexamples:
	chmod 0644 examples/*py
	dh_installexamples