From e7ae71e072fa7f4218b9601c3c7675e516a11f64 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 15 Jul 2010 00:26:42 +0100 Subject: [PATCH] build: Fix include path for Cally's introspection The introspection scanner does not include '.' by default, so it was always using the installed copy of Clutter-1.0.gir. Which obviously wouldn't work if we didn't have one. --- clutter/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clutter/Makefile.am b/clutter/Makefile.am index f60adfb..a1ef46e 100644 --- a/clutter/Makefile.am +++ b/clutter/Makefile.am @@ -393,6 +393,7 @@ Cally-@CLUTTER_API_VERSION@.gir: Makefile $(INTROSPECTION_SCANNER) Clutter-@CLUT $(INCLUDES) \ $(AM_CPPFLAGS) \ --c-include='cally/cally.h' \ + --add-include-path=$(top_builddir)/clutter \ --include=GObject-2.0 \ --include=Atk-1.0 \ --include=Pango-1.0 \ @@ -408,6 +409,8 @@ Cally-@CLUTTER_API_VERSION@.gir: Makefile $(INTROSPECTION_SCANNER) Clutter-@CLUT BUILT_GIRSOURCES += Cally-@CLUTTER_API_VERSION@.gir +Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir + # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to # install anything - we need to install inside our prefix. girdir = $(datadir)/gir-1.0 -- 2.7.4