[geocode-glib] build: Fix srcdir != builddir



commit c6694c8a87b6c36032f3217524a623110da01840
Author: Colin Walters <walters verbum org>
Date:   Sat Aug 3 12:49:22 2013 -0400

    build: Fix srcdir != builddir

 geocode-glib/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/geocode-glib/Makefile.am b/geocode-glib/Makefile.am
index f71640d..adcb622 100644
--- a/geocode-glib/Makefile.am
+++ b/geocode-glib/Makefile.am
@@ -44,7 +44,7 @@ gcglib_HEADERS =                                      \
        $(GCGLIB_HEADER_FILES)                          \
        geocode-enum-types.h
 
-AM_CFLAGS = -I$(top_srcdir) $(GEOCODE_CFLAGS) $(COMMON_CFLAGS) $(WARN_CFLAGS) $(DISABLE_DEPRECATED) 
-DTEST_SRCDIR=\""$(srcdir)/data/"\"
+AM_CFLAGS = -I$(top_srcdir) -I$(top_builddir) $(GEOCODE_CFLAGS) $(COMMON_CFLAGS) $(WARN_CFLAGS) 
$(DISABLE_DEPRECATED) -DTEST_SRCDIR=\""$(srcdir)/data/"\"
 
 BUILT_SOURCES = \
                geocode-enum-types.c \
@@ -79,7 +79,7 @@ introspection_files = $(libgeocode_glib_la_PUBLICSOURCES) $(gcglib_HEADERS)
 GeocodeGlib-1.0.gir: libgeocode-glib.la
 GeocodeGlib_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 Json-1.0 SoupGNOME-2.4
 GeocodeGlib_1_0_gir_PACKAGES = gobject-2.0 gmodule-2.0 glib-2.0 gio-2.0 libsoup-gnome-2.4 json-glib-1.0
-GeocodeGlib_1_0_gir_CFLAGS = -I$(top_srcdir)
+GeocodeGlib_1_0_gir_CFLAGS = -I$(top_srcdir) -I$(top_builddir)
 GeocodeGlib_1_0_gir_LIBS = libgeocode-glib.la
 GeocodeGlib_1_0_gir_SCANNERFLAGS = \
        --symbol-prefix=geocode_ \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]