[osm-gps-map] 19/153: Fix debian/rules to build with multiple python versions

Ross Gammon ross-guest at moszumanska.debian.org
Tue May 13 19:58:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

ross-guest pushed a commit to branch master
in repository osm-gps-map.

commit d81c1d92e8ada9683cf437d191574d5e0a095712
Author: David Paleino <dapal at debian.org>
Date:   Fri Jan 8 22:08:58 2010 +0100

    Fix debian/rules to build with multiple python versions
---
 debian/changelog |  3 ++-
 debian/rules     | 12 ++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 44c222b..785033e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
 osm-gps-map (0.4-1) UNRELEASED; urgency=low
 
   * New upstream release
+  * Fix debian/rules to build with multiple python versions
 
- -- David Paleino <dapal at debian.org>  Fri, 08 Jan 2010 22:06:59 +0100
+ -- David Paleino <dapal at debian.org>  Fri, 08 Jan 2010 22:07:55 +0100
 
 osm-gps-map (0.3-2) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index af9517d..3868f24 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,15 +8,15 @@
 override_dh_auto_configure:
 	NOCONFIGURE=y ./autogen.sh
 	dh_auto_configure -- --enable-maintainer-mode
-	dh_auto_build
-
-override_dh_auto_build:
-	dh_auto_configure -Dpython/
-	dh_auto_build -Dpython/
 
 override_dh_auto_install:
+	for py in $(shell pyversions -r); do \
+		PYTHON=$$py dh_auto_configure -Dpython/; \
+		dh_auto_build -Dpython/; \
+		dh_auto_install -Dpython/; \
+		dh_auto_clean -Dpython/; \
+	done
 	dh_auto_install
-	dh_auto_install -Dpython
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osm-gps-map.git



More information about the Pkg-grass-devel mailing list