File: rules

package info (click to toggle)
scoop 0.7.1.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,328 kB
  • sloc: python: 6,015; makefile: 117; sh: 5
file content (20 lines) | stat: -rwxr-xr-x 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
#export DH_VERBOSE=1
#export DEB_BUILD_OPTIONS=nocheck

export PYBUILD_NAME=scoop

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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="cd {dir}/test; {interpreter} tests.py" \
	dh_auto_test || true

override_dh_auto_install:
	dh_auto_install
	PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N doc debian/scoop-doc/usr/share/doc/scoop-doc/html

override_dh_compress:
	dh_compress -X.py # save examples