File: rules

package info (click to toggle)
txlibravatar 1.1-15
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 76 kB
  • sloc: python: 67; makefile: 13
file content (19 lines) | stat: -rwxr-xr-x 352 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
#!/usr/bin/make -f
# -*- makefile -*-

PYVERS=$(shell pyversions -r)

%:
	dh $@ --with python2

override_dh_auto_build:
	set -xe; \
	for py in $(PYVERS); do \
	    $$py setup.py build; \
	done

override_dh_auto_install:
	set -xe; \
	for py in $(PYVERS); do \
	    $$py setup.py install  --root=debian/python-txlibravatar --install-layout=deb ; \
	done