[libgweather] build: Fix introspection build with builddir != srcdir



commit c25270a57837304f12f07575932e3724ae0f3f9e
Author: Vincent Untz <vuntz gnome org>
Date:   Mon Sep 26 16:14:53 2011 +0200

    build: Fix introspection build with builddir != srcdir

 libgweather/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgweather/Makefile.am b/libgweather/Makefile.am
index fa823f3..9ffc28a 100644
--- a/libgweather/Makefile.am
+++ b/libgweather/Makefile.am
@@ -113,15 +113,15 @@ introspection_sources = 	\
 	gweather-location.c gweather-location.h \
 	gweather-timezone.c gweather-timezone.h \
 	location-entry.c location-entry.h \
-	timezone-menu.c timezone-menu.h \
-	gweather-enum-types.h
+	timezone-menu.c timezone-menu.h
+built_introspection_sources = gweather-enum-types.h
 
 GWeather-3.0.gir: libgweather-3.la Makefile
 GWeather_3_0_gir_INCLUDES = GObject-2.0 Gtk-3.0
 GWeather_3_0_gir_CFLAGS = $(libgweather_3_la_CPPFLAGS) -DGWEATHER_I_KNOW_THIS_IS_UNSTABLE
 GWeather_3_0_gir_LIBS = libgweather-3.la
 GWeather_3_0_gir_SCANNERFLAGS = --identifier-prefix=GWeather --symbol-prefix=gweather --pkg-export=gweather-3.0
-GWeather_3_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
+GWeather_3_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources)) $(addprefix $(builddir)/,$(built_introspection_sources))
 INTROSPECTION_GIRS += GWeather-3.0.gir
 
 girdir = $(INTROSPECTION_GIRDIR)



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