Revert 12296 -- provide a better fix for gentoo ebuild.

* src/gnome-utils/Makefile.am: revert 12296 and handle the
	  case of an svn checkout without .svn subdirs (gentoo ebuild).
	  In particular, we want to use $(srcdir)/gnc-svninfo.h
	  so that a build from a dist tarball has the svn version.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12344 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2006-01-13 21:50:36 +00:00
parent 491cb81a8c
commit 0d571c1848
2 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,11 @@
2006-02-13 Neil Williams <linux@codehelp.co.uk>
2006-01-13 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/Makefile.am: revert 12296 and handle the
case of an svn checkout without .svn subdirs (gentoo ebuild).
In particular, we want to use $(srcdir)/gnc-svninfo.h
so that a build from a dist tarball has the svn version.
2006-01-13 Neil Williams <linux@codehelp.co.uk>
* src/bin/test/test-version : Using Derek's fix to
resolve the test failure.

View File

@ -273,7 +273,12 @@ _gnc-svninfo.h:
echo "/* Autogenerated. Do not change. */" > _gnc-svninfo.h ; \
echo "#define GNUCASH_SVN_REV \"$$svninfo\"" >> _gnc-svninfo.h ; \
else \
echo "#define GNUCASH_SVN_REV \"unknown\"" > _gnc-svninfo.h ; \
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 ; \
fi ; \
fi
BUILT_SOURCES = gnc-dir.h gnc-version.h