Add the .c files to the files scanned by the GIR scanner, so it can find
the annotations.
Bug #617736.
if ENABLE_INTROSPECTION
-EvinceDocument-$(EV_API_VERSION).gir: libevdocument.la Makefile $(INST_H_FILES)
+EvinceDocument-$(EV_API_VERSION).gir: libevdocument.la Makefile $(INST_H_FILES) $(filter %.c,$(libevdocument_la_SOURCES))
$(AM_V_GEN) PKG_CONFIG_PATH=$(top_builddir):$$PKG_CONFIG_PATH \
$(G_IR_SCANNER) -v --namespace EvinceDocument \
--strip-prefix=Ev \
-I$(srcdir) \
-I$(builddir) \
-DEVINCE_COMPILATION \
- $(filter %.h,$^)
+ $(filter %.h,$^) \
+ $(filter %.c,$^)
girdir = $(GIRDIR)
gir_DATA = EvinceDocument-$(EV_API_VERSION).gir
if ENABLE_INTROSPECTION
-EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES)
+EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES) $(filter %.c,$(libevview_la_SOURCES))
$(AM_V_GEN) PKG_CONFIG_PATH=$(top_builddir):$$PKG_CONFIG_PATH \
$(G_IR_SCANNER) -v --namespace EvinceView \
--add-include-path=$(top_builddir)/libdocument \
-I$(top_srcdir) \
-I$(top_builddir) \
-DEVINCE_COMPILATION \
- $(filter %.h,$^)
+ $(filter %.h,$^) \
+ $(filter %.c,$^)
girdir = $(GIRDIR)
gir_DATA = EvinceView-$(EV_API_VERSION).gir