File: rules

package info (click to toggle)
sinntp 1.5-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 224 kB
  • ctags: 75
  • sloc: xml: 520; python: 421; sh: 39; makefile: 22
file content (17 lines) | stat: -rwxr-xr-x 321 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

python_all = pyversions -r | tr ' ' '\n' | xargs -t -I {} env {}

%: 
	dh $@ --with python2

override_dh_install:
	dh_install
	rm -f debian/*/usr/share/sinntp/tests.py

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	$(python_all) tests.py --verbose
endif

# vim:ts=4 sw=4 noet