docs: hook-up gtk-doc to 'make check'

This commit is contained in:
Kay Sievers
2012-04-20 03:25:36 +02:00
parent 80037e4d17
commit 21dbe43aec
10 changed files with 98 additions and 36 deletions
+5 -5
View File
@@ -57,7 +57,7 @@ EXTRA_HFILES=
# Header files to ignore when scanning. Use base file name, no paths
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
IGNORE_HFILES=
IGNORE_HFILES=gudevenumtypes.h gudevmarshal.h
# Images to copy into HTML directory.
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
@@ -83,8 +83,8 @@ GTKDOC_CFLAGS = \
-I$(top_builddir)/src/gudev
GTKDOC_LIBS = \
$(GLIB_LIBS) \
$(top_builddir)/libgudev-1.0.la
$(GLIB_LIBS) \
$(top_builddir)/libgudev-1.0.la
# This includes the standard gtk-doc make rules, copied by gtkdocize.
include $(top_srcdir)/gtk-doc.make
@@ -100,8 +100,8 @@ EXTRA_DIST += version.xml.in
# Comment this out if you want your docs-status tested during 'make check'
if ENABLE_GTK_DOC
#TESTS_ENVIRONMENT = cd $(srcsrc)
#TESTS = $(GTKDOC_CHECK)
TESTS_ENVIRONMENT = cd $(top_srcdir)
TESTS = $(GTKDOC_CHECK)
endif
install-data-hook:
+8 -2
View File
@@ -33,8 +33,9 @@
<xi:include href="xml/tree_index.sgml"/>
</chapter>
<index>
<title>Index</title>
<index id="api-index-full">
<title>API Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
</index>
<index role="165">
@@ -42,5 +43,10 @@
<xi:include href="xml/api-index-165.xml"><xi:fallback /></xi:include>
</index>
<index id="api-index-deprecated" role="deprecated">
<title>Index of deprecated API</title>
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
</index>
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
</book>
-13
View File
@@ -98,16 +98,3 @@ G_UDEV_ENUMERATOR_GET_CLASS
<SUBSECTION Private>
GUdevEnumeratorPrivate
</SECTION>
<SECTION>
<FILE>gudevmarshal</FILE>
<SUBSECTION Private>
g_udev_marshal_VOID__STRING_OBJECT
</SECTION>
<SECTION>
<FILE>gudevenumtypes</FILE>
<SUBSECTION Private>
G_TYPE_UDEV_DEVICE_TYPE
g_udev_device_type_get_type
</SECTION>
+2 -2
View File
@@ -94,8 +94,8 @@ EXTRA_DIST += version.xml.in
# Comment this out if you want your docs-status tested during 'make check'
if ENABLE_GTK_DOC
#TESTS_ENVIRONMENT = cd $(srcsrc)
#TESTS = $(GTKDOC_CHECK)
TESTS_ENVIRONMENT = cd $(top_srcdir)
TESTS = $(GTKDOC_CHECK)
endif
install-data-hook:
+2 -1
View File
@@ -29,10 +29,11 @@
<xi:include href="xml/libudev-enumerate.xml"/>
<xi:include href="xml/libudev-queue.xml"/>
<xi:include href="xml/libudev-util.xml"/>
<xi:include href="xml/api-index-deprecated.xml"/>
</chapter>
<index id="api-index-full">
<title>Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
<xi:include href="xml/api-index-full.xml"/>
</index>
</book>