File: rules

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

export PYBUILD_NAME=public
export PYBUILD_DISABLE=test
export PYBUILD_AFTER_TEST=rm -vf {build_dir}/.coverage

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

#Build sphinx HTML documentation
override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N -bhtml docs/ debian/html

override_dh_link:
	dh_link
	find debian/python3-public/ -name 'coverage.xml' -delete