File: rules

package info (click to toggle)
doxyqml 0.5.3-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 412 kB
  • sloc: python: 1,349; cpp: 165; makefile: 9; sh: 8
file content (13 lines) | stat: -rwxr-xr-x 317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

%:
	dh $@ --buildsystem pybuild

PYTHON3 = PYTHONPATH=$(CURDIR) python3

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cp -a tests tests.bak
	dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} tests/run-coverage"
	rm -rf tests && mv tests.bak tests
endif