mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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
22 lines
529 B
Makefile
22 lines
529 B
Makefile
abs_top_srcdir=@abs_top_srcdir@
|
|
|
|
EXTRA_DIST = \
|
|
guile-strings.c \
|
|
xgettext.scm
|
|
|
|
# Cause automake to generate correct rules
|
|
# for maintainers
|
|
noinst_HEADERS = guile-strings.c
|
|
|
|
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 |