summaryrefslogtreecommitdiff
path: root/doc/doc-scripts/Makefile
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2004-10-07 15:04:35 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2004-10-07 15:04:35 +0000
commit495ae4b01f36d0d8bb0e34a1d7263c2b8224aa4a (patch)
treefcfaa2c623d4f155eef907b50b950b602829a30b /doc/doc-scripts/Makefile
parent0756eb3cb50d73a77b486e47528f7cb1bffdb299 (diff)
Start
Diffstat (limited to 'doc/doc-scripts/Makefile')
-rw-r--r--doc/doc-scripts/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/doc-scripts/Makefile b/doc/doc-scripts/Makefile
new file mode 100644
index 000000000..79b1f0490
--- /dev/null
+++ b/doc/doc-scripts/Makefile
@@ -0,0 +1,31 @@
+# $Cambridge: exim/doc/doc-scripts/Makefile,v 1.1 2004/10/07 15:04:35 ph10 Exp $
+
+# Makefile for Exim documentation
+
+ps:; sgcal-fr spec.src -v -to z-gcode -index z-rawindex
+ sgtops z-gcode -to z-ps
+
+txt:; g2man
+ sgcal-fr spec.src -style online -v -to z-txt -index z-rawindex
+
+contents:; @DoConts
+
+index:; @DoIndex
+
+# The file z-rawindex is included by the filter source to create a TOC.
+# First empty it, then do a dummy format to create it, then do a second
+# pass. This works because the TOC occupies no more than the rest of the
+# first page.
+
+filterps:; /bin/rm -rf z-rawindex
+ touch z-rawindex
+ sgcal-fr filter.src -v -to z-gcode -index z-rawindex
+ sgcal-fr filter.src -v -to z-gcode -index /dev/null
+ sgtops z-gcode -to filter.ps
+
+filtertxt:; /bin/rm -rf z-rawindex
+ touch z-rawindex
+ sgcal-fr filter.src -style online -v -to filter.txt -index z-rawindex
+ sgcal-fr filter.src -style online -v -to filter.txt -index /dev/null
+
+clean:; /bin/rm -f z*