summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
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
+