Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument
diff options
context:
space:
mode:
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