Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2010-05-05 17:34:12 (GMT)
committer Christian Persch <chpe@gnome.org>2010-05-05 17:34:12 (GMT)
commit488328147c1031108df847ce43e3600bc269feb4 (patch)
tree18513af993a48dd87d865bac1502f690f4e73004 /libdocument
parentaf931767fbab6c17cc85646a3f8b1dfb1f58868d (diff)
[introspection] Add .c files to the introspection sources
Add the .c files to the files scanned by the GIR scanner, so it can find the annotations. Bug #617736.
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdocument/Makefile.am b/libdocument/Makefile.am
index b9a3362..4cbc34e 100644
--- a/libdocument/Makefile.am
+++ b/libdocument/Makefile.am
@@ -136,7 +136,7 @@ EXTRA_DIST = \
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 \
@@ -155,7 +155,8 @@ EvinceDocument-$(EV_API_VERSION).gir: libevdocument.la Makefile $(INST_H_FILES)
-I$(srcdir) \
-I$(builddir) \
-DEVINCE_COMPILATION \
- $(filter %.h,$^)
+ $(filter %.h,$^) \
+ $(filter %.c,$^)
girdir = $(GIRDIR)
gir_DATA = EvinceDocument-$(EV_API_VERSION).gir