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.
This commit is contained in:
Emmanuele Bassi 2010-07-15 00:26:42 +01:00
parent 54b2e1781e
commit e7ae71e072

View File

@ -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