File: rules

package info (click to toggle)
mocker 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 316 kB
  • ctags: 956
  • sloc: python: 4,548; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 292 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

PYTHON2=$(shell pyversions -vr)

%:
	dh $@ --with python2

test-python%:
	python$* test.py -vv

override_dh_auto_test: $(PYTHON2:%=test-python%)

override_dh_installchangelogs:
	dh_installchangelogs -k NEWS

override_dh_clean:
	$(RM) --recursive mocker.egg-info
	dh_clean