[Pkg-cli-libs-commits] [SCM] db4o branch, master, updated. debian/7.4.121.14026+dfsg-3-22-g8e3de09

Jo Shields directhex at apebox.org
Sun Aug 14 19:04:50 UTC 2011


The following commit has been merged in the master branch:
commit 3ba6c3cd3efdfafc011808a7d87f9cb62bd4f5eb
Author: Jo Shields <directhex at apebox.org>
Date:   Sun Aug 14 19:50:06 2011 +0100

    Move various manual hacks from install to build rule, where they belong.

diff --git a/debian/rules b/debian/rules
index 950bdb7..3653205 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,11 @@ override_dh_auto_build:
 	  -f ecma \
 	  -o $(CURDIR)/tmp/Db4objects.Db4o \
 	  $(CURDIR)/tmp/monodocer
+	cp $(pkg-config --variable=Libraries mono-cecil) tmp/
+	cp $(pkg-config --variable=Libraries cecil-flowanalysis) tmp/
+	cp $(pkg-config --variable=Libraries mono.reflection) tmp/
+	perl -pe 's/#PACKAGE_ABI_VERSION#/$(DEB_CLI_ABI_VERSION)/g' \
+	  $(CURDIR)/debian/db4o.pc.in > debian/db4o.pc
 
 override_dh_auto_clean:
 	xbuild /property:Configuration=Release /property:DefineConstants="MONO" /target:Clean src/Db4o-2010.sln
@@ -26,11 +31,6 @@ override_dh_auto_clean:
 	find src -type d -name obj -exec rm -rf {} \;
 
 override_dh_auto_install:
-	cp $(pkg-config --variable=Libraries mono-cecil) tmp/
-	cp $(pkg-config --variable=Libraries cecil-flowanalysis) tmp/
-	cp $(pkg-config --variable=Libraries mono.reflection) tmp/
-	perl -pe 's/#PACKAGE_ABI_VERSION#/$(DEB_CLI_ABI_VERSION)/g' \
-	  $(CURDIR)/debian/db4o.pc.in > debian/db4o.pc
 	dh_auto_install
 
 override_dh_compress:

-- 
db4o



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