|
|
1.1 root 1: # Copyright 1985, Massachusetts Institute of Technology
2: # Makefile for the Xlib document.
3:
4: TROFF= ditroff -Tpsc
5: PRINTER= lpr -n -Pln03-bldge40-4
6: FILES= macros.t\
7: abstract.t\
8: ch01a.t\
9: ch02a.t\
10: ch03a.t ch03b.t\
11: ch04a.t\
12: ch05a.t ch05b.t ch05c.t\
13: ch06a.t ch06b.t ch06c.t ch06d.t ch06e.t\
14: ch07a.t\
15: ch08a.t\
16: ch09a.t\
17: ch10a.t\
18: ch11a.t ch11b.t ch11c.t\
19: ch12a.t ch12b.t ch12c.t ch12d.t ch12e.t\
20: ch13a.t\
21: credits.t\
22: appendix
23:
24: all: paper
25:
26: paper: $(FILES)
27: eqn ${FILES} | tbl |${TROFF} -ms 2> index.raw | ${PRINTER}
28:
29: preview:$(FILES)
30: neqn ${FILES} | tbl | nroff -ms 2> index.nraw | colcrt
31:
32: index.raw:
33: eqn ${FILES} | tbl | ${TROFF} -ms -t > /dev/null 2> index.raw|\
34: ${PRINTER}
35:
36: index: index.raw
37: sort +1 +0n -1n index.raw | awk -f fixindex.awk\
38: | awk -f block.awk > index.troff
39: cat indexmacros.t index.troff | ${TROFF} -me | ${PRINTER}
40: rm -f index.troff
41:
42: clean:
43: rm -f *~ \#* *.bak errs index.traw index.nraw
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.