Skip to content

Commit

Permalink
If the build directory is not the source directory and the source dir…
Browse files Browse the repository at this point in the history
…ectory

is read only, the build fails.  Fix by only making guile-strings.c if 
building from SVN.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19927 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
mtalexander committed Dec 12, 2010
1 parent 6eb32d9 commit 0288b5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions intl-scm/Makefile.am
Expand Up @@ -12,9 +12,11 @@ BUILT_SOURCES = guile-strings.c

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

0 comments on commit 0288b5f

Please sign in to comment.