summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-05-21 17:21:50 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-05-21 17:34:07 +0200
commitdafaa83761a9514bccfe64c9fc2c3ff7ceeb23cf (patch)
tree5af436d1ec3ec4f5ba2899af2c7603471d92e01c /docs
parente237b5e2b499a25fc7a11ee7a1fc3877cf4cd6c4 (diff)
docs: setup sections for commands
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/libmbim-glib/Makefile.am18
-rw-r--r--docs/reference/libmbim-glib/libmbim-glib-common.sections (renamed from docs/reference/libmbim-glib/libmbim-glib-sections.txt)0
-rw-r--r--docs/reference/libmbim-glib/libmbim-glib-docs.xml5
3 files changed, 22 insertions, 1 deletions
diff --git a/docs/reference/libmbim-glib/Makefile.am b/docs/reference/libmbim-glib/Makefile.am
index c6d8a72..e4afc06 100644
--- a/docs/reference/libmbim-glib/Makefile.am
+++ b/docs/reference/libmbim-glib/Makefile.am
@@ -5,7 +5,18 @@ DOC_MODULE = libmbim-glib
# The top-level SGML file.
DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
-BUILT_SOURCES =
+# Sections file building
+ALL_SECTIONS = \
+ $(srcdir)/libmbim-glib-common.sections \
+ $(top_builddir)/libmbim-glib/generated/mbim-basic-connect.sections
+
+$(DOC_MODULE)-sections.mstamp: $(ALL_SECTIONS)
+ $(AM_V_GEN) \
+ rm -f $(DOC_MODULE)-sections.txt && \
+ cat $(ALL_SECTIONS) > $(DOC_MODULE)-sections.txt && \
+ touch $(DOC_MODULE)-sections.mstamp
+
+BUILT_SOURCES = $(DOC_MODULE)-sections.mstamp
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS = --rebuild-types
@@ -53,6 +64,9 @@ include $(top_srcdir)/gtk-doc.make
EXTRA_DIST += \
+ libmbim-glib-common.sections \
+ $(DOC_MODULE)-sections.txt \
+ $(DOC_MODULE)-sections.mstamp \
version.xml.in \
$(DIAGRAMS) \
$(NULL)
@@ -71,6 +85,8 @@ CLEANFILES += \
$(DOC_MODULE).prerequisites \
$(DOC_MODULE).signals \
$(DOC_MODULE).types \
+ $(DOC_MODULE)-sections.txt \
+ $(DOC_MODULE)-sections.mstamp \
*.stamp \
-rf xml html tmpl \
$(NULL)
diff --git a/docs/reference/libmbim-glib/libmbim-glib-sections.txt b/docs/reference/libmbim-glib/libmbim-glib-common.sections
index 93cf759..93cf759 100644
--- a/docs/reference/libmbim-glib/libmbim-glib-sections.txt
+++ b/docs/reference/libmbim-glib/libmbim-glib-common.sections
diff --git a/docs/reference/libmbim-glib/libmbim-glib-docs.xml b/docs/reference/libmbim-glib/libmbim-glib-docs.xml
index ab3ef06..b54226d 100644
--- a/docs/reference/libmbim-glib/libmbim-glib-docs.xml
+++ b/docs/reference/libmbim-glib/libmbim-glib-docs.xml
@@ -48,6 +48,11 @@
<xi:include href="xml/mbim-utils.xml"/>
</chapter>
+ <chapter>
+ <title>Services</title>
+ <xi:include href="xml/mbim-basic-connect.xml"/>
+ </chapter>
+
<chapter id="object-tree">
<title>Object Hierarchy</title>
<xi:include href="xml/tree_index.sgml"/>