aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-05-02 02:15:05 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-05-02 02:15:05 +0200
commit23ad231bf566ba9cb877d409de80b8259cdd9bb5 (patch)
tree79c75090ddf93bf16cb19c19008b2e0928300bb4 /doc/Makefile.am
parentcd9c08173c375db1fd0dc7ad466946eba12ff165 (diff)
downloadgtk-vlc-player-23ad231bf566ba9cb877d409de80b8259cdd9bb5.tar.gz
added skeleton docbook and site-configuration support
* docbook is built by default and also included in distro * doxygen is not built by default (developer docs)
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am23
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 63be7c7..422b87c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,5 +1,26 @@
-if USE_DOXYGEN
+#
+# Docbook processing
+# TODO: might also generate a man page
+#
+DB_URI = http://docbook.sourceforge.net/release/xsl/current
+
+if BUILD_HTML
+dist_html_DATA = experiment-player.html
+endif
+CLEANFILES = experiment-player.html html_titlepage.xsl
+EXTRA_DIST = experiment-player.xml html_custom.xsl html_titlepage.spec.xml
+
+experiment-player.html : experiment-player.xml html_custom.xsl html_titlepage.xsl
+ @XSLTPROC@ @XSLT_FLAGS@ -o $@ html_custom.xsl $<
+
+html_titlepage.xsl : html_titlepage.spec.xml
+ @XSLTPROC@ @XSLT_FLAGS@ -o $@ $(DB_URI)/template/titlepage.xsl $<
+
+#
+# Doxygen processing (do not install or distribute)
+#
+if BUILD_DOXYGEN
noinst_DATA = doxygen/
endif