[libwnck] [build] Fix build when building out of source tree



commit fbc16c75f97eea84f9fe1d742ee63c9033486786
Author: Theppitak Karoonboonyanan <thep linux thai net>
Date:   Tue Jun 22 03:46:38 2010 +0200

    [build] Fix build when building out of source tree

 libwnck/Makefile.am |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libwnck/Makefile.am b/libwnck/Makefile.am
index ca76db3..840b032 100644
--- a/libwnck/Makefile.am
+++ b/libwnck/Makefile.am
@@ -171,7 +171,8 @@ INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
 INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
 
 if HAVE_INTROSPECTION
-introspection_sources = $(wnck_sources) $(libwnckinclude_HEADERS)
+introspection_sources = $(wnck_sources) $(wnck_headers)
+introspection_built_sources = $(wnck_built_installed_headers)
 
 Wnck-1.0.gir: libwnck-1.la Makefile
 Wnck_1_0_gir_INCLUDES = GObject-2.0 Gtk-2.0
@@ -181,7 +182,9 @@ Wnck_1_0_gir_CFLAGS =			\
 	-DWNCK_I_KNOW_THIS_IS_UNSTABLE	\
 	-DSN_API_NOT_YET_FROZEN=1
 Wnck_1_0_gir_LIBS = libwnck-1.la
-Wnck_1_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
+Wnck_1_0_gir_FILES = \
+	$(addprefix $(srcdir)/,$(introspection_sources))	\
+	$(introspection_built_sources)
 INTROSPECTION_GIRS += Wnck-1.0.gir
 
 girdir = $(datadir)/gir-1.0



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