summaryrefslogtreecommitdiff
path: root/xc/doc/specs/PEX5
diff options
context:
space:
mode:
authorrws <empty>1994-02-10 17:38:51 +0000
committerrws <empty>1994-02-10 17:38:51 +0000
commit6f8fa5f2ad8d231bee5a5aea0dc9f31278fa94fd (patch)
treeb49e736c4097ef535127cf76f1c212112411d486 /xc/doc/specs/PEX5
parent3f11b9fa9d43dc2b29405118fe12242651903e8c (diff)
Initial revision
Diffstat (limited to 'xc/doc/specs/PEX5')
-rw-r--r--xc/doc/specs/PEX5/PEXlib/Imakefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/xc/doc/specs/PEX5/PEXlib/Imakefile b/xc/doc/specs/PEX5/PEXlib/Imakefile
new file mode 100644
index 000000000..ad1f18135
--- /dev/null
+++ b/xc/doc/specs/PEX5/PEXlib/Imakefile
@@ -0,0 +1,25 @@
+SRCS = pexlibmac.t \
+ cover \
+ credits \
+ chapter01 \
+ chapter02.[1234]\
+ chapter0[3456789]\
+ chapter1[0123456]\
+ appendix\
+ postproc
+
+ISRCS = pexlibndxmac.t
+
+all: PEXlib.PS PEXlib.ndx.PS
+
+PEXlib.PS:
+ $(TBL) $(SRCS) | $(EQN) | $(TROFF) $(MSMACROS) 2> index.raw > PEXlib.PS
+
+PEXlib.ndx.PS:
+ tail -1 index.raw > index.pageno
+ grep -v '^.pn ' index.raw | sort -f -t: +1 -3 +0n -1n | awk -f fixindex.awk | awk -f block.awk > index.troff
+ cat $(ISRCS) index.troff | $(TROFF) -me > PEXlib.ndx.PS
+ $(RM) index.troff index.pageno
+
+clean::
+ $(RM) index.raw index.troff index.pageno PEXlib.PS PEXlib.ndx.PS