File: rules

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

export PYBUILD_NAME=public

export PYBUILD_AFTER_TEST=rm -vf {build_dir}/.coverage

%:
	dh $@ --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs -k docs/NEWS.rst

override_dh_installdocs:
	python3 setup.py build_sphinx
	dh_installdocs build/sphinx/html