[libgdata] [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] [introspection] Allow g-ir-scanner to actually pick up the gtk-doc comments
- Date: Fri, 16 Jul 2010 09:10:03 +0000 (UTC)
commit 505045c324116e8b7ea12f38b94afc98db9cc62d
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 a215d13..be0b313 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -274,10 +274,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 \
@@ -367,6 +364,12 @@ gdata_libgdata_la_SOURCES = \
gdata/services/youtube/gdata-youtube-control.c \
gdata/services/youtube/gdata-youtube-category.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) \
@@ -409,7 +412,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) \
@@ -418,7 +421,7 @@ gdata/GData-$(GDATA_API_VERSION).gir: Makefile gdata/libgdata.la
$(gdatagcontactinclude_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]