[Gnucash-changes] r13366 - gnucash/trunk - force a build from svn to have access to svn version info.

Derek Atkins warlord at cvs.gnucash.org
Wed Feb 22 20:39:06 EST 2006


Author: warlord
Date: 2006-02-22 20:39:05 -0500 (Wed, 22 Feb 2006)
New Revision: 13366
Trac: http://svn.gnucash.org/trac/changeset/13366

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/gnome-utils/Makefile.am
Log:
	  force a build from svn to have access to svn version info.
	  this might break the broken ebuild that forcibly removes the
	  .svn directories, but the ebuild is broken and shouldn't do that.



Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-02-23 01:35:25 UTC (rev 13365)
+++ gnucash/trunk/ChangeLog	2006-02-23 01:39:05 UTC (rev 13366)
@@ -3,6 +3,11 @@
 	* src/gnome/gnc-plugin-page-register.c:
 	  include gtk-compat.h so we build against gtk-2.4.
 
+	* src/gnome-utils/Makefile.am:
+	  force a build from svn to have access to svn version info.
+	  this might break the broken ebuild that forcibly removes the
+	  .svn directories, but the ebuild is broken and shouldn't do that.
+
 2006-02-22  David Hampton  <hampton at employees.org>
 
 	* src/gtk-compat.h:

Modified: gnucash/trunk/src/gnome-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome-utils/Makefile.am	2006-02-23 01:35:25 UTC (rev 13365)
+++ gnucash/trunk/src/gnome-utils/Makefile.am	2006-02-23 01:39:05 UTC (rev 13366)
@@ -270,11 +270,9 @@
 		if [ -r $(srcdir)/gnc-svninfo.h ] ; then \
 			cp $(srcdir)/gnc-svninfo.h _gnc-svninfo.h ; \
 		else \
-			echo "/* Autogenerated. Do not change. */" > _gnc-svninfo.h ; \
-			echo "#define GNUCASH_SVN_REV \"unknown -- bad svn checkout?\"" >> _gnc-svninfo.h ; \
-			echo "#ifndef GNUCASH_SVN" >> _gnc_svn-info.h ; \
-			echo "#define GNUCASH_SVN 1" >> _gnc_svn-info.h ; \
-			echo "#endif" >> _gnc_svn-info.h ; \
+			echo "You're building from SVN...  But you're build system is broken" ; \
+			echo "Don't do that.   Complain to your build-system creator." ; \
+			exit 1 ; \
 		fi ; \
 	fi
 



More information about the gnucash-changes mailing list