From ce16a3bab810bda6bd87390ae6b0e7ccc58b3929 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Wed, 20 Jul 2011 08:54:15 +0300 Subject: [PATCH] * libmuguile/Makefile.am: add top_buildir for snarfing --- libmuguile/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libmuguile/Makefile.am b/libmuguile/Makefile.am index 285d3e60..793df59c 100644 --- a/libmuguile/Makefile.am +++ b/libmuguile/Makefile.am @@ -16,9 +16,10 @@ include $(top_srcdir)/gtest.mk -# enforce compiling this dir first before decending into tests/ +# note, we need top_builddir for snarfing with 'make distcheck' (ie., +# with separate builddir) SUBDIRS= . -INCLUDES=-I${top_srcdir} -I${top_srcdir}/src ${GUILE_CFLAGS} ${GLIB_CFLAGS} +INCLUDES=-I${top_builddir} -I${top_srcdir} -I${top_srcdir}/src ${GUILE_CFLAGS} ${GLIB_CFLAGS} # don't use -Werror, as it might break on other compilers # use -Wno-unused-parameters, because some callbacks may not