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:
parent
54b2e1781e
commit
e7ae71e072
@ -393,6 +393,7 @@ Cally-@CLUTTER_API_VERSION@.gir: Makefile $(INTROSPECTION_SCANNER) Clutter-@CLUT
|
|||||||
$(INCLUDES) \
|
$(INCLUDES) \
|
||||||
$(AM_CPPFLAGS) \
|
$(AM_CPPFLAGS) \
|
||||||
--c-include='cally/cally.h' \
|
--c-include='cally/cally.h' \
|
||||||
|
--add-include-path=$(top_builddir)/clutter \
|
||||||
--include=GObject-2.0 \
|
--include=GObject-2.0 \
|
||||||
--include=Atk-1.0 \
|
--include=Atk-1.0 \
|
||||||
--include=Pango-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
|
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
|
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
|
||||||
# install anything - we need to install inside our prefix.
|
# install anything - we need to install inside our prefix.
|
||||||
girdir = $(datadir)/gir-1.0
|
girdir = $(datadir)/gir-1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user