* src/gnome-utils/Makefile.am: exit if "svn info" fails.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12008 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2005-11-21 23:53:57 +00:00
parent 72762ab9c9
commit d9d3520ea5
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-11-21 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/Makefile.am: exit if "svn info" fails.
2005-11-21 Neil Williams <linux@codehelp.co.uk>
Use only qof.h in place of other QOF headers,

View File

@ -321,6 +321,11 @@ gnc-svninfo.h: .gnc-svninfo.h
fi ; \
if [ -d $$s/.svn ] ; then \
svninfo=`svn info $$s |grep '^Revision: '|sed 's/Revision: //'` ; \
if [ -z "$$svninfo" ] ; then \
echo "svn info failed. figure out why." ; \
echo "can't determine svn revision from $$s." ; \
exit 1 ; \
fi ; \
echo "#define GNUCASH_SVN_REV $$svninfo" > gnc-svninfo.h ; \
fi