[libgsf] compilation: fix out-of-tree build.



commit 474d2e93af1f052dee474d6066afd8e171b892df
Author: Morten Welinder <terra gnome org>
Date:   Thu Apr 19 20:38:42 2012 -0400

    compilation: fix out-of-tree build.

 gsf/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gsf/Makefile.am b/gsf/Makefile.am
index 3ff23bc..87980a6 100644
--- a/gsf/Makefile.am
+++ b/gsf/Makefile.am
@@ -156,6 +156,10 @@ Gsf-1.gir: $(NOINST_H_FILES)
 Gsf-1.gir: $(libgsf_1_la_SOURCES)
 Gsf-1.gir: libgsf-1.la
 Gsf-1.gir: $(G_IR_SCANNER) Makefile
+	(TMP= ; \
+	for i in $(libgsf_1_include_HEADERS) $(libgsf_1_la_SOURCES); do \
+	  TMP="$$TMP $(srcdir)/$$i" ; \
+	done ;\
 	$(AM_V_GEN) $(G_IR_SCANNER) -v --namespace Gsf --nsversion=1 \
 	    --add-include-path=$(srcdir) --add-include-path=. \
 	    --include=GObject-2.0 \
@@ -165,7 +169,7 @@ Gsf-1.gir: $(G_IR_SCANNER) Makefile
 	    --libtool="$(LIBTOOL)" \
 	    --output $@ \
 	    -I$(top_srcdir) \
-	    $(libgsf_1_include_HEADERS) $(libgsf_1_la_SOURCES)
+	    $$TMP)
 
 if HAVE_INTROSPECTION
 



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