File: rules

package info (click to toggle)
testrepository 0.0.20-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 748 kB
  • ctags: 814
  • sloc: python: 5,871; sh: 37; makefile: 27
file content (21 lines) | stat: -rwxr-xr-x 565 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export PYBUILD_NAME=testrepository
export PYBUILD_DISABLE=test

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

override_dh_installchangelogs:
	dh_installchangelogs -k NEWS

override_dh_auto_install:
	dh_auto_install
	mv $(CURDIR)/debian/python-testrepository/usr/bin/testr \
		$(CURDIR)/debian/python-testrepository/usr/bin/testr-python2
	mv $(CURDIR)/debian/python3-testrepository/usr/bin/testr \
		$(CURDIR)/debian/python3-testrepository/usr/bin/testr-python3

override_dh_clean:
	dh_clean
	rm -rf build .testrepository Makefile dist