[libgdata/libgdata-0-6] introspection: Allow g-ir-scanner to actually pick up the gtk-doc comments
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/libgdata-0-6] introspection: Allow g-ir-scanner to actually pick up the gtk-doc comments
- Date: Wed, 29 Sep 2010 12:17:58 +0000 (UTC)
commit 05f58a56833ee22d01df2bc005b8966807c3b4af
Author: Philip Withnall <philip tecnocode co uk>
Date: Fri Jul 16 10:08:52 2010 +0100
introspection: Allow g-ir-scanner to actually pick up the gtk-doc comments
Also enable warnings from the scanner about missing annotations.
Makefile.am | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 78fa426..49ab3ba 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -254,10 +254,7 @@ gdatayoutubeinclude_HEADERS = \
$(gdata_youtube_headers) \
gdata/services/youtube/gdata-youtube-enums.h
-gdata_libgdata_la_SOURCES = \
- $(GDATA_MARSHAL_FILES) \
- $(GDATA_ENUM_FILES) \
- $(private_headers) \
+gdata_sources = \
gdata/gdata-entry.c \
gdata/gdata-feed.c \
gdata/gdata-service.c \
@@ -332,6 +329,12 @@ gdata_libgdata_la_SOURCES = \
gdata/services/youtube/gdata-youtube-state.c \
gdata/services/youtube/gdata-youtube-control.c
+gdata_libgdata_la_SOURCES = \
+ $(GDATA_MARSHAL_FILES) \
+ $(GDATA_ENUM_FILES) \
+ $(private_headers) \
+ $(gdata_sources)
+
# All but the first two -I flags here are to cope with compiling the enum files in a srcdir!=builddir environment
gdata_libgdata_la_CPPFLAGS = \
-I$(top_srcdir) \
@@ -374,7 +377,7 @@ if HAVE_INTROSPECTION
_gir_libtool = $(if $(LIBTOOL),--libtool="$(LIBTOOL)") # bgo#610273
gdata/GData-$(GDATA_API_VERSION).gir: Makefile gdata/libgdata.la
$(AM_V_GEN)($(INTROSPECTION_SCANNER) \
- --namespace GData --nsversion=$(GDATA_API_VERSION) \
+ --namespace GData --nsversion=$(GDATA_API_VERSION) --warn-all \
--c-include="gdata/gdata.h" --include=libxml2-2.0 --include=Soup-2.4 \
--library=gdata/libgdata.la $(_gir_libtool) --output $@ \
-I$(top_srcdir) -I$(top_srcdir)/gdata $(GDATA_CFLAGS) \
@@ -382,7 +385,7 @@ gdata/GData-$(GDATA_API_VERSION).gir: Makefile gdata/libgdata.la
$(gdatagdinclude_HEADERS) $(gdatamediainclude_HEADERS) \
$(gdatacalendarinclude_HEADERS) $(gdatacontactsinclude_HEADERS) \
$(gdatadocumentsinclude_HEADERS) $(gdatapicasawebinclude_HEADERS) \
- $(gdatayoutubeinclude_HEADERS)))
+ $(gdatayoutubeinclude_HEADERS) $(gdata_sources)))
BUILT_GIRSOURCES = gdata/GData-$(GDATA_API_VERSION).gir
girdir = $(datadir)/gir-1.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]