Build and run in separate directory
David Hampton
hampton-gnucash at rainbolthampton.net
Mon Feb 13 18:03:58 EST 2006
On Sun, 2006-02-12 at 01:41 -0500, Mike Alexander wrote:
> The patch was generated against 13074. I tried it again against 13174,
> which is slightly post 1.9.0 and it still doesn't work right. The two
> patches that are relevant to building, rather than running, in a
> separate directory are
>
> Index: configure.in
> ===================================================================
> --- configure.in (revision 13074)
> +++ configure.in (working copy)
> @@ -453,7 +453,7 @@
> fi
> if test x$QOF_XML_DIR = x; then
> QOF_LIB_DIR='${libdir}'
> - QOF_CFLAGS='-I${top_srcdir}/lib/libqof/qof'
> + QOF_CFLAGS='-I${top_srcdir}/lib/libqof/qof
> -I${top_builddir}/lib/libqof/qof'
> QOF_LIBS='${top_builddir}/lib/libqof/qof/libqof.la'
> QOF_VERSION="internal"
> QOF_PREFIX="internal"
I don't see any harm that could be caused by this change.
> Index: intl-scm/Makefile.am
> ===================================================================
> --- intl-scm/Makefile.am (revision 13074)
> +++ intl-scm/Makefile.am (working copy)
> @@ -8,7 +8,7 @@
>
> BUILT_SOURCES = guile-strings.c
>
> -SCMFILES = $(shell find ${top_srcdir}/src -name test -prune -o -name
> '*.scm' -print )
> +SCMFILES = $(shell cd ${srcdir} && find ../src -name test -prune -o
> -name '*.scm' -print )
>
> # This needs to be generated in srcdir
> guile-strings.c: $(SCMFILES)
I am unclear why this change has any effect. What are the values of
srcdir, top_srcdir, and top_builddir in intl-scm/Makefile.
David
More information about the gnucash-devel
mailing list