File: rules

package info (click to toggle)
shatag 0.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 224 kB
  • sloc: python: 556; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 447 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

%:
	dh $@ --with python3

override_dh_auto_clean:
	rm -rf build shatag.egg-info

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/shatag --install-layout=deb; \
	done;

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