File: rules

package info (click to toggle)
python-stdnum 2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,676 kB
  • sloc: python: 10,203; javascript: 6,995; sh: 13; makefile: 10
file content (14 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export PYBUILD_NAME = stdnum
export PYBUILD_TEST_PYTEST = 1
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/htmlcov

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

override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. python3 -m sphinx -N -b html docs/ build/html