[Pkg-cli-libs-commits] [SCM] cecil branch, master, updated. debian/0.6+svn148654-2-13-g090af34

Jo Shields directhex at apebox.org
Sat Aug 6 11:33:50 UTC 2011


The following commit has been merged in the master branch:
commit d0447b366192e69752cc1b671a246e1f4cae3b6a
Author: Jo Shields <directhex at apebox.org>
Date:   Sat Aug 6 12:03:46 2011 +0100

    Update build to use XBuild, not manual compiler invocation.

diff --git a/debian/rules b/debian/rules
index 9e258a0..f2db229 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,27 +9,13 @@ include /usr/share/cli-common/cli.make
 UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2 | sed 's,-.*,,')
 
 override_dh_auto_build:
-	# build Mono.Cecil.dll
-	cd Mono.Cecil && mono-csc -keyfile:/usr/share/cli-common/keys/mono.snk \
-		@Mono.Cecil.dll.sources /target:library \
-		/out:Mono.Cecil.dll
+	xbuild /property:Configuration=net_4_0_Release
+
 	sed -e 's;@prefix@;/usr;g' \
 		-e 's;^Version:.*;Version:\ $(UPVERSION);g' \
 		-e 's;lib/Mono.Cecil$$;lib/mono-cecil;g' \
 		Mono.Cecil/mono-cecil.pc.in > Mono.Cecil/mono-cecil.pc
 
-	# build Mono.Cecil.Mdb.dll, needs newer mono!
-	# cd Mono.Cecil.Mdb && mono-csc -keyfile:../debian/mono.snk \
-	#	@Mono.Cecil.Mdb.dll.sources /target:library \
-	#	/r:../Mono.Cecil/Mono.Cecil.dll \
-	#	/r:Mono.CompilerServices.SymbolWriter.dll
-	#	/out:Mono.Cecil.Mdb.dll	
-
-
-#	cd debian && al -link:policy.0.5.Mono.Cecil.config \
-                    -out:policy.0.5.Mono.Cecil.dll \
-                    -keyfile:mono.snk
-
 %:
 	dh $@
 

-- 
cecil



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