[libgweather] build: Fix builddir != srcdir case



commit a2c8215786255fbfd190a557466e207e71acd639
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Apr 14 10:34:55 2015 +0100

    build: Fix builddir != srcdir case
    
    We need to add $(top_builddir) to the inclusion directives.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747837

 libgweather/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgweather/Makefile.am b/libgweather/Makefile.am
index 694edf2..bc3d579 100644
--- a/libgweather/Makefile.am
+++ b/libgweather/Makefile.am
@@ -9,6 +9,7 @@ AM_CPPFLAGS =                   \
        -DGWEATHER_COMPILATION  \
        $(DEPS_CFLAGS)          \
        -I$(top_srcdir)         \
+       -I$(top_builddir)       \
        -I$(srcdir)
 
 AM_CFLAGS = -std=c99 $(WARN_CFLAGS)
@@ -31,7 +32,6 @@ gweather_c_sources = \
        weather-metar.c weather-iwin.c weather-yahoo.c \
        weather-wx.c weather-yrno.c weather-owm.c \
        weather-sun.c weather-moon.c \
-       gweather-enum-types.c \
        gweather-location.c \
        gweather-timezone.c \
        gweather-location-entry.c \
@@ -43,7 +43,7 @@ introspection_sources = \
        $(gweather_new_headers)
 
 built_introspection_sources = \
-       gweather-enum-types.h gweather-enums.h
+       gweather-enum-types.h gweather-enum-types.c
 
 libgweather_internal_3_la_SOURCES = \
        $(gweather_c_sources) \


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