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.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13366 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2006-02-23 01:39:05 +00:00
parent 5cd8bdf5a1
commit eb29ffd9f8
2 changed files with 8 additions and 5 deletions

View File

@@ -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@employees.org>
* src/gtk-compat.h:

View File

@@ -270,11 +270,9 @@ _gnc-svninfo.h: Makefile
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