File: rules

package info (click to toggle)
python-installer 0.6.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 416 kB
  • sloc: python: 2,576; makefile: 11; sh: 8
file content (18 lines) | stat: -rwxr-xr-x 376 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# export DH_VERBOSE = 1

export PYBUILD_NAME = installer

export PYBUILD_TEST_ARGS = -rsx -v

%:
	dh $@ --buildsystem pybuild

execute_after_dh_auto_build:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=$(CURDIR)/src/ \
	  http_proxy=http://127.0.0.1:9 \
	  https_proxy=https://127.0.0.1:9 \
	  python3 -m sphinx -N -bhtml docs/ build/html
endif