File: rules

package info (click to toggle)
pontos 25.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 3,732 kB
  • sloc: python: 44,349; makefile: 21; sh: 10; xml: 3
file content (16 lines) | stat: -rwxr-xr-x 476 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 DH_VERBOSE = 1

export PYBUILD_NAME=pontos
export PYBUILD_BEFORE_TEST=cp -r {dir}/pyproject.toml {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/pyproject.toml

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

execute_after_dh_auto_build-indep: export http_proxy=127.0.0.1:9
execute_after_dh_auto_build-indep: export https_proxy=127.0.0.1:9
execute_after_dh_auto_build-indep:
	PYTHONPATH=. python3 -m sphinx -N -bhtml \
	docs/ build/html