r19927 - gnucash/trunk/intl-scm - If the build directory is not the source directory and the source directory
Mike Alexander
mta at code.gnucash.org
Sun Dec 12 01:45:37 EST 2010
Author: mta
Date: 2010-12-12 01:45:37 -0500 (Sun, 12 Dec 2010)
New Revision: 19927
Trac: http://svn.gnucash.org/trac/changeset/19927
Modified:
gnucash/trunk/intl-scm/Makefile.am
Log:
If the build directory is not the source directory and the source directory
is read only, the build fails. Fix by only making guile-strings.c if
building from SVN.
Modified: gnucash/trunk/intl-scm/Makefile.am
===================================================================
--- gnucash/trunk/intl-scm/Makefile.am 2010-12-12 06:33:50 UTC (rev 19926)
+++ gnucash/trunk/intl-scm/Makefile.am 2010-12-12 06:45:37 UTC (rev 19927)
@@ -12,9 +12,11 @@
SCMFILES = $(shell find ${abs_top_srcdir}/src -name test -prune -o -name '*.scm' -print | sort)
+if BUILDING_FROM_SVN
# This needs to be generated in srcdir
guile-strings.c: $(SCMFILES)
rm -f guile-strings.c
cd ${srcdir} && rm -f guile-strings.c \
&& ${GUILE} -s ./xgettext.scm ${abs_top_srcdir} $(SCMFILES)
+endif
\ No newline at end of file
More information about the gnucash-changes
mailing list