[Pkg-cli-apps-commits] [SCM] banshee-community-extensions branch, experimental, updated. debian/2.0.1-1-20-g0fb8c30

Chow Loong Jin hyperair at ubuntu.com
Mon Jun 13 18:34:38 UTC 2011


The following commit has been merged in the experimental branch:
commit b83b3e2d870b5c92de7a41c10d8437a7483f2996
Author: Chow Loong Jin <hyperair at ubuntu.com>
Date:   Tue Jun 14 02:20:20 2011 +0800

    Use dh_gencontrol -- -V for substvars

diff --git a/debian/rules b/debian/rules
index 14b14ff..181fd58 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,10 +45,7 @@ override_dh_auto_install:
 	find debian/tmp -name '*.la' -o -name '*.a' -delete
 
 override_dh_gencontrol:
-	for pkg in `sed -n 's/^Package: //p' debian/control`; do \
-		echo "banshee:Version=$(BANSHEE_VERSION)" >> debian/$$pkg.substvars; \
-	done
-	dh_gencontrol
+	dh_gencontrol -- -Vbanshee:Version=$(BANSHEE_VERSION)
 
 override_dh_makeclilibs:		# do nothing -- we do not want clilibs to come
                                 # from anything, and especially not clutterflow.

-- 
banshee-community-extensions



More information about the Pkg-cli-apps-commits mailing list