summaryrefslogtreecommitdiff
path: root/doc/Makefile
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/Makefile
parent9801ff7de21027935f52ccabaa3ff157e22d21ce (diff)
initial harness for documentation
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile25
1 files changed, 25 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
+