Commit | Line | Data |
---|---|---|
495ae4b0 PH |
1 | # Makefile for Exim documentation |
2 | ||
3 | ps:; sgcal-fr spec.src -v -to z-gcode -index z-rawindex | |
4 | sgtops z-gcode -to z-ps | |
5 | ||
6 | txt:; g2man | |
7 | sgcal-fr spec.src -style online -v -to z-txt -index z-rawindex | |
8 | ||
9 | contents:; @DoConts | |
10 | ||
11 | index:; @DoIndex | |
12 | ||
13 | # The file z-rawindex is included by the filter source to create a TOC. | |
14 | # First empty it, then do a dummy format to create it, then do a second | |
15 | # pass. This works because the TOC occupies no more than the rest of the | |
16 | # first page. | |
17 | ||
18 | filterps:; /bin/rm -rf z-rawindex | |
19 | touch z-rawindex | |
20 | sgcal-fr filter.src -v -to z-gcode -index z-rawindex | |
21 | sgcal-fr filter.src -v -to z-gcode -index /dev/null | |
22 | sgtops z-gcode -to filter.ps | |
23 | ||
24 | filtertxt:; /bin/rm -rf z-rawindex | |
25 | touch z-rawindex | |
26 | sgcal-fr filter.src -style online -v -to filter.txt -index z-rawindex | |
27 | sgcal-fr filter.src -style online -v -to filter.txt -index /dev/null | |
28 | ||
29 | clean:; /bin/rm -f z* |