File: rules

package info (click to toggle)
pyudev 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 468 kB
  • sloc: python: 2,481; makefile: 18
file content (19 lines) | stat: -rwxr-xr-x 527 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
# -*- makefile -*-

%:
	dh $@ --with python2,python3

override_dh_auto_install:
	set -e && for pyvers in $(shell pyversions -vr); do \
		python$$pyvers setup.py install --no-compile -O0 --install-layout=deb \
			--root $(CURDIR)/debian/python-pyudev; \
	done
	
	set -e && for pyvers in $(shell py3versions -sv); do \
		python$$pyvers setup.py install --no-compile -O0 --install-layout=deb \
			--root $(CURDIR)/debian/python3-pyudev; \
	done

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst