From 0f6ea4e33ffc97f870221d68097055dd5354b2e9 Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Mon, 2 Jul 2012 13:40:04 +0200 Subject: * debian/rules, debian/control, debian/unity-autopilot.install: - install new unity-autopilot package, containing autopilot bindings and test for Unity - use dh_python2 and add some python:Depends dep for automatic python version detection (bzr r55.3.664) --- debian/rules | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 939ee5314..d65507a8c 100755 --- a/debian/rules +++ b/debian/rules @@ -43,6 +43,12 @@ else endif override_dh_install: + # install autopilot tests + cd tests/autopilot; \ + set -ex; for python in $(shell pyversions -r); do \ + $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \ + done; \ + cd $(CURDIR) find debian/tmp/usr/lib -name \*.*a -exec rm {} \; rm -f debian/tmp/usr/share/compiz/networkarearegion_xml rm -f debian/tmp//usr/lib/compiz/libnetworkarearegion.so @@ -60,4 +66,4 @@ override_dh_auto_test: echo "not working right now" %: - dh $@ --with translations,quilt --parallel + dh $@ --with translations,quilt,python2 --parallel -- cgit v1.2.3