File: rules

package info (click to toggle)
backupchecker 1.9-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 352 kB
  • sloc: python: 2,613; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 477 bytes parent folder | download
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

PYTHON3=$(shell py3versions -vr)

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_build:
	set -ex; for py in $(PYTHON3) ; do \
		python$$py setup.py build; \
	done

override_dh_auto_install:
	set -ex; for py in $(PYTHON3) ; do \
		python$$py setup.py install --skip-build \
		                            --root=$(CURDIR)/debian/tmp \
		                            --install-layout=deb; \
	done

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3