gtk-doc r600 - in trunk: . tests tests/bugs/docs tests/bugs/src
- From: stefkost svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-doc r600 - in trunk: . tests tests/bugs/docs tests/bugs/src
- Date: Mon, 22 Sep 2008 19:47:37 +0000 (UTC)
Author: stefkost
Date: Mon Sep 22 19:47:37 2008
New Revision: 600
URL: http://svn.gnome.org/viewvc/gtk-doc?rev=600&view=rev
Log:
* TODO:
More todos.
* tests/bugs/docs/tester-sections.txt:
* tests/bugs/src/tester.c:
* tests/bugs/src/tester.h:
Add testcase for bug 552602.
* tests/gtk-doc.make:
* tests/gtk-doc.notmpl.make:
Also use new RUN envvar here.
Modified:
trunk/ChangeLog
trunk/TODO
trunk/tests/bugs/docs/tester-sections.txt
trunk/tests/bugs/src/tester.c
trunk/tests/bugs/src/tester.h
trunk/tests/gtk-doc.make
trunk/tests/gtk-doc.notmpl.make
Modified: trunk/TODO
==============================================================================
--- trunk/TODO (original)
+++ trunk/TODO Mon Sep 22 19:47:37 2008
@@ -41,6 +41,9 @@
* the Makefile uses $(DESTDIR)$(TARGET_DIR)
where TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
http://www.gnu.org/software/libtool/manual/automake/DESTDIR.html
+
+* $MODULE-unused.txt is produced in gtkdoc-mktmpl.txt only
+ * we won't find unused doc blobs in notmpl build
= Output =
* http://sagehill.net/docbookxsl/index.html
Modified: trunk/tests/bugs/docs/tester-sections.txt
==============================================================================
--- trunk/tests/bugs/docs/tester-sections.txt (original)
+++ trunk/tests/bugs/docs/tester-sections.txt Mon Sep 22 19:47:37 2008
@@ -19,6 +19,7 @@
bug_477532
bug_501038
bug_544172
+bug_552602
<SUBSECTION Standard>
<SUBSECTION Private>
</SECTION>
Modified: trunk/tests/bugs/src/tester.c
==============================================================================
--- trunk/tests/bugs/src/tester.c (original)
+++ trunk/tests/bugs/src/tester.c Mon Sep 22 19:47:37 2008
@@ -109,3 +109,16 @@
*
* http://bugzilla.gnome.org/show_bug.cgi?id=446648
**/
+
+
+ /**
+ * bug_552602:
+ *
+ * http://bugzilla.gnome.org/show_bug.cgi?id=552602
+ *
+ * Returns: result
+ */
+const char* const * bug_552602 (void) {
+ return NULL;
+}
+
Modified: trunk/tests/bugs/src/tester.h
==============================================================================
--- trunk/tests/bugs/src/tester.h (original)
+++ trunk/tests/bugs/src/tester.h Mon Sep 22 19:47:37 2008
@@ -88,6 +88,8 @@
G_CONST_RETURN gchar* G_CONST_RETURN *
bug_471014 (void);
+const char* const * bug_552602 (void);
+
/**
* Bug446648:
* @BUG_446648_FOO: field
Modified: trunk/tests/gtk-doc.make
==============================================================================
--- trunk/tests/gtk-doc.make (original)
+++ trunk/tests/gtk-doc.make Mon Sep 22 19:47:37 2008
@@ -7,9 +7,11 @@
if GTK_DOC_USE_LIBTOOL
GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
+GTKDOC_RUN = $(LIBTOOL) --mode=execute
else
GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
+GTKDOC_RUN =
endif
# We set GPATH here; this gives us semantics for GNU make
@@ -57,7 +59,7 @@
@PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir) && \
gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
- CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" $(top_builddir)/gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) $(SCANGOBJ_OPTIONS); \
+ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" $(top_builddir)/gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) $(SCANGOBJ_OPTIONS); \
else \
cd $(srcdir) ; \
for i in $(SCANOBJ_FILES) ; do \
Modified: trunk/tests/gtk-doc.notmpl.make
==============================================================================
--- trunk/tests/gtk-doc.notmpl.make (original)
+++ trunk/tests/gtk-doc.notmpl.make Mon Sep 22 19:47:37 2008
@@ -7,9 +7,11 @@
if GTK_DOC_USE_LIBTOOL
GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
+GTKDOC_RUN = $(LIBTOOL) --mode=execute
else
GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
+GTKDOC_RUN =
endif
# We set GPATH here; this gives us semantics for GNU make
@@ -57,7 +59,7 @@
@PATH=$(top_builddir):$(PATH) PERL5LIB=$(top_builddir):$(PERL5LIB) && cd $(srcdir) && \
gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
- CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" $(top_builddir)/gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) $(SCANGOBJ_OPTIONS); \
+ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" $(top_builddir)/gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) $(SCANGOBJ_OPTIONS); \
else \
cd $(srcdir) ; \
for i in $(SCANOBJ_FILES) ; do \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]