[evince] [introspection] Add .c files to the introspection sources
- From: Christian Persch <chpe src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [evince] [introspection] Add .c files to the introspection sources
 
- Date: Wed,  5 May 2010 17:39:27 +0000 (UTC)
 
commit 488328147c1031108df847ce43e3600bc269feb4
Author: Christian Persch <chpe gnome org>
Date:   Wed May 5 19:34:12 2010 +0200
    [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.
 libdocument/Makefile.am |    5 +++--
 libview/Makefile.am     |    5 +++--
 2 files changed, 6 insertions(+), 4 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
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
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]