[Pkg-cli-libs-commits] [SCM] gdata-sharp branch, master, updated. debian/1.4.0.2-1-2-ga9b6ac2

Chow Loong Jin hyperair at gmail.com
Tue Mar 24 00:16:38 UTC 2009


The following commit has been merged in the master branch:
commit a9b6ac276b02c8ac13f401563129873a38d0436e
Author: Chow Loong Jin <hyperair at gmail.com>
Date:   Tue Mar 24 08:11:21 2009 +0800

    Link .pc files correctly

diff --git a/debian/rules b/debian/rules
index 9ca6e86..f6e7091 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,7 @@ override_dh_auto_install:
 	dh_auto_install -- PREFIX=/usr CSC=/usr/bin/csc
 	prename 's/\.pc$$/-$(DEB_CLI_ABI_VERSION).pc/' debian/tmp/usr/lib/pkgconfig/*
 	for file in debian/tmp/usr/lib/pkgconfig/*.pc; do \
-		ln -s $$file $$(echo $$file | sed -e 's/-$(DEB_CLI_ABI_VERSION)\.pc$$/.pc/'); \
+		ln -s $$(basename $$file) $$(echo $$file | sed -e 's/-$(DEB_CLI_ABI_VERSION)\.pc$$/.pc/'); \
 	done
 
 # skip test-cases as they fail for some reason

-- 
gdata-sharp



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