[Pkg-mono-svn-commits] [SCM] mono branch, master-experimental, updated. debian/2.10.1-4-37-g03befb1

Mirco Bauer meebey at meebey.net
Sun Aug 7 16:03:45 UTC 2011


The following commit has been merged in the master-experimental branch:
commit 8f854679383f89070bad1e91b182068625b62122
Author: Mirco Bauer <meebey at meebey.net>
Date:   Mon Apr 4 22:22:20 2011 +0200

    Force the debian version
    
    $(top_srcdir)/.git is no longer a good indicator if this is an upstream git clone or a debian git clone

diff --git a/mono/mini/Makefile.am b/mono/mini/Makefile.am
index 510cd4e..6291ee1 100644
--- a/mono/mini/Makefile.am
+++ b/mono/mini/Makefile.am
@@ -688,16 +688,7 @@ EXTRA_DIST = $(common_BURGSRC) TestDriver.cs ldscript ldscript.mono \
 	$(posix_sources)
 
 version.h: Makefile
-	if test -d $(top_srcdir)/.git; then \
-		(cd $(top_srcdir); \
-			LANG=C; export LANG; \
-			branch=`git branch | grep '^\*' | cut -d ' ' -f 2`; \
-			version=`git log --no-color --first-parent -n1 --pretty=format:%h`; \
-			echo "#define FULL_VERSION \"$$branch/$$version\""; \
-		); \
-	else \
-		echo "#define FULL_VERSION \"Debian $$(dpkg-parsechangelog -l$(top_srcdir)/debian/changelog | grep ^Vers | cut -d\  -f2)\""; \
-	fi > version.h
+	echo "#define FULL_VERSION \"Debian $$(dpkg-parsechangelog -l$(top_srcdir)/debian/changelog | grep ^Vers | cut -d\  -f2)\"" > version.h
 
 # Utility target for patching libtool to speed up linking
 patch-libtool:

-- 
mono



More information about the Pkg-mono-svn-commits mailing list