File: rules

package info (click to toggle)
apt-clone 0.4.1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 1,704 kB
  • sloc: python: 1,079; makefile: 27; sh: 4
file content (19 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
%:
	dh $@ --with=python3

override_dh_auto_clean:
	rm -rf build

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

override_dh_auto_install:
	set -ex; for python in $(shell py3versions -r); do \
		$$python setup.py install --root=$(CURDIR)/debian/apt-clone --install-layout=deb; \
	done

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