Fix build failures when $(top_srcdir) != $(top_builddir).
authorMatthew Barnes <mbarnes@redhat.com>
Wed, 20 Jun 2012 19:43:02 +0000 (15:43 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Wed, 20 Jun 2012 19:49:48 +0000 (15:49 -0400)
Really need to get distcheck working again...

addressbook/backends/google/Makefile.am
addressbook/backends/google/tests/Makefile.am
calendar/libecal/Makefile.am
docs/reference/private/Makefile.am

index f419927..8281a8f 100644 (file)
@@ -69,6 +69,8 @@ libebook_google_utils_la_CFLAGS = \
 libebook_google_utils_la_CPPFLAGS = \
        $(AM_CPPFLAGS) \
        -DG_LOG_DOMAIN=\"libebookbackendgoogle\" \
+       -I$(top_srcdir) \
+       -I$(top_builddir) \
        -I$(top_srcdir)/addressbook \
        -I$(top_builddir)/addressbook \
        $(NULL)
index 3d2bb8e..6a4274c 100644 (file)
@@ -1,5 +1,7 @@
 CPPFLAGS = \
        $(AM_CPPFLAGS) \
+       -I$(top_srcdir) \
+       -I$(top_builddir) \
        -I$(top_srcdir)/addressbook \
        -I$(top_builddir)/addressbook \
        -I$(top_srcdir)/addressbook/backends/google \
index fc0f186..71d53b0 100644 (file)
@@ -19,6 +19,7 @@ libecal_INCLUDES = \
        -I$(top_srcdir)/calendar/libegdbus      \
        -I$(top_srcdir)/calendar/libedata-cal   \
        -I$(top_builddir)                       \
+       -I$(top_builddir)/calendar              \
        -I$(top_builddir)/calendar/libecal
 
 libecal_1_2_la_CPPFLAGS =                      \
index 85be6f0..aeb3790 100644 (file)
@@ -11,8 +11,8 @@ SCAN_OPTIONS = --deprecated-guards="EDS_DISABLE_DEPRECATED"
 DOC_SOURCE_DIR = $(top_srcdir)/private
 
 # Used for dependencies. The docs will be rebuilt if any of these change.
-HFILE_GLOB = $(top_srcdir)/private/*.h
-CFILE_GLOB = $(top_srcdir)/private/*.c
+HFILE_GLOB = $(top_builddir)/private/*.h
+CFILE_GLOB = $(top_builddir)/private/*.c
 
 IGNORE_HFILES =