summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-04-08 11:46:56 -0700
committerKeith Packard <keithp@keithp.com>2010-04-08 11:46:56 -0700
commit447c121fc1ceb878e45718ad1364a5349965a59a (patch)
tree32eed5dbe4450f269a34c0c933e4934e7b846532 /doc/Makefile
parent10330d23518c94a8b791193a97a6cc07b1c9a97c (diff)
parent53ca3f98aeb70cb780031fee788de950e4388cf6 (diff)
Merge remote branch 'origin/master' into altosui
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
+