File: rules

package info (click to toggle)
pcbasic 2.0.5-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 33,352 kB
  • sloc: python: 27,753; sh: 64; makefile: 13
file content (23 lines) | stat: -rwxr-xr-x 546 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=pcbasic

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


override_dh_auto_build:
	echo PaulLiu {destdir}
	dh_auto_build
	PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m packaging build_docs

override_dh_auto_test:
	mkdir -p $(CURDIR)/tests/unit/output/single
	dh_auto_test -- --test-args="$(CURDIR)"

override_dh_auto_clean:
	dh_auto_clean
	rm -rf $(CURDIR)/tests/unit/output