Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview
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 /libview
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 'libview')
-rw-r--r--libview/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/libview/Makefile.am b/libview/Makefile.am
index b4edc57..f2848e6 100644
--- a/libview/Makefile.am
+++ b/libview/Makefile.am
@@ -108,7 +108,7 @@ EXTRA_DIST = \
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 \
@@ -129,7 +129,8 @@ EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES)
-I$(top_srcdir) \
-I$(top_builddir) \
-DEVINCE_COMPILATION \
- $(filter %.h,$^)
+ $(filter %.h,$^) \
+ $(filter %.c,$^)
girdir = $(GIRDIR)
gir_DATA = EvinceView-$(EV_API_VERSION).gir