mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
491cb81a8c
commit
0d571c1848
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user