File: rules

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

export LC_ALL=C.UTF-8

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