summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Das Mohapatra <vivek@collabora.co.uk>2017-07-21 12:13:23 (GMT)
committerVivek Das Mohapatra <vivek@collabora.co.uk>2017-07-21 12:13:23 (GMT)
commit028836617c55b46b71fa20bd96ab65559feef04d (patch)
tree8e61c9c49e219a402f2b73a0d6a3dd33a6fc70bd
parenta4941e463be2969eb4fa834cb2d2ec6b14225252 (diff)
downloadlibcapsule-028836617c55b46b71fa20bd96ab65559feef04d.tar.gz
libcapsule-028836617c55b46b71fa20bd96ab65559feef04d.tar.xz
Restore dropped changes to hook up gtk-doc to build system
-rw-r--r--documentation.mk29
1 files changed, 27 insertions, 2 deletions
diff --git a/documentation.mk b/documentation.mk
index 29ee3b2..b093a27 100644
--- a/documentation.mk
+++ b/documentation.mk
@@ -1,3 +1,5 @@
+# ============================================================================
+# standalone man pages from docbook source:
XSLTPROC_FLAGS = \
--nonet \
--stringparam man.output.quietly 1 \
@@ -8,10 +10,33 @@ XSLTPROC_FLAGS = \
XSLT_MAN = http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
-include gtk-doc.make
-
%.1: doc/%.xml
$(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) $(XSLT_MAN) $<
+%.3: xml/%.xml docs
+ $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) $(XSLT_MAN) $<
+# ============================================================================
+# gtk-doc configuration: see /usr/share/doc/gtk-doc-tools/examples/Makefile.am
+DOC_MODULE = libcapsule
+DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
+DOC_SOURCE_DIR = capsule
+SCAN_OPTIONS =
+MKDB_OPTIONS = --xml-mode --output-format=xml
+MKTMPL_OPTIONS =
+MKHTML_OPTIONS =
+FIXXREF_OPTIONS =
+HFILE_GLOB =
+CFILE_GLOB =
+EXTRA_HFILES =
+IGNORE_HFILES =
+HTML_IMAGES =
+content_files =
+expand_content_files =
+GTKDOC_CFLAGS =
+GTKDOC_LIBS =
+
+-include gtk-doc.make
+
+# ============================================================================
man_MANS = capsule-init-project.1 capsule-mkstublib.1
CLEANFILES += $(man_MANS)