summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2010-03-30 23:11:40 -0600
committerBdale Garbee <bdale@gag.com>2010-03-30 23:11:40 -0600
commit20d4d410e0fc04fe192e309811eed6c0194fa5a8 (patch)
tree44b6ce444b4095622e4417215975b55d0dcc80f4 /doc
parent9801ff7de21027935f52ccabaa3ff157e22d21ce (diff)
initial harness for documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile25
-rw-r--r--doc/telemetrum.xsl44
2 files changed, 69 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 00000000..d3293900
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,25 @@
+#
+# http://docbook.sourceforge.net/release/xsl/current/README
+#
+
+all: telemetrum.html telemetrum.pdf
+
+telemetrum.html: telemetrum.xsl
+ xsltproc -o telemetrum.html \
+ /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl \
+ telemetrum.xsl
+
+telemetrum.fo: telemetrum.xsl
+ xsltproc -o telemetrum.fo \
+ /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl \
+ telemetrum.xsl
+
+telemetrum.pdf: telemetrum.fo
+ fop -fo telemetrum.fo -pdf telemetrum.pdf
+
+clean:
+ rm -f telemetrum.html telemetrum.pdf telemetrum.fo
+
+indent: telemetrum.xsl
+ xmlindent -i 2 < telemetrum.xsl > telemetrum.new
+
diff --git a/doc/telemetrum.xsl b/doc/telemetrum.xsl
new file mode 100644
index 00000000..7d855318
--- /dev/null
+++ b/doc/telemetrum.xsl
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd">
+<book>
+ <bookinfo>
+ <author>
+ <firstname>Bdale</firstname>
+ <surname>Garbee</surname>
+ </author>
+ <author>
+ <firstname>Keith</firstname>
+ <surname>Packard</surname>
+ </author>
+ <copyright>
+ <year>2010</year>
+ <holder>Bdale Garbee</holder>
+ </copyright>
+ <title>TeleMetrum</title>
+ <subtitle>Owner's Manual for the TeleMetrum System</subtitle>
+ <legalnotice>
+ <para>
+ This document is released under the terms of the
+ <ulink url="http://creativecommons.org/licenses/by-sa/3.0/">
+ Creative Commons ShareAlike 3.0
+ </ulink>
+ license.
+ </para>
+ </legalnotice>
+ <revhistory>
+ <revision>
+ <revnumber>0.1</revnumber>
+ <date>30 March 2010</date>
+ <revremark>Initial content</revremark>
+ </revision>
+ </revhistory>
+ </bookinfo>
+ <chapter>
+ <title>Introduction</title>
+ <para>
+ Placeholder.
+ </para>
+ </chapter>
+</book>
+