Commit | Line | Data |
---|---|---|
d5e70b6b KM |
1 | # |
2 | # Copyright (c) 1986 Regents of the University of California. | |
3 | # All rights reserved. The Berkeley software License Agreement | |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
a3b93ea6 | 6 | # @(#)Makefile 6.2 (Berkeley) %G% |
d5e70b6b KM |
7 | # |
8 | TOCS= toc1 toc2 toc3 toc3f toc4 toc5 toc6 toc7 toc8 \ | |
9 | tocx1 tocx2 tocx3 tocx3f tocx4 tocx5 tocx6 tocx7 tocx8 | |
10 | MACROS= -msU | |
11 | PRINTER=Pdp | |
12 | TROFF= ditroff -${PRINTER} | |
13 | ||
a3b93ea6 KM |
14 | all: title.urm.${PRINTER} preface.${PRINTER} intro.${PRINTER} \ |
15 | toc.${PRINTER} ptx.${PRINTER} title.prm.${PRINTER} | |
16 | lpr -${PRINTER} -n title.urm.${PRINTER} | |
d5e70b6b KM |
17 | lpr -${PRINTER} -n preface.${PRINTER} |
18 | lpr -${PRINTER} -n intro.${PRINTER} | |
19 | lpr -${PRINTER} -n toc.${PRINTER} | |
20 | lpr -${PRINTER} -n ptx.${PRINTER} | |
a3b93ea6 | 21 | lpr -${PRINTER} -n title.prm.${PRINTER} |
d5e70b6b | 22 | |
a3b93ea6 KM |
23 | title.urm.${PRINTER}: title.urm |
24 | ${TROFF} -t title.urm >title.urm.${PRINTER} | |
d5e70b6b KM |
25 | |
26 | preface.${PRINTER}: preface.ms | |
27 | ${TROFF} ${MACROS} -t preface.ms >preface.${PRINTER} | |
28 | ||
29 | intro.${PRINTER}: intro.ms | |
30 | ${TROFF} ${MACROS} -t intro.ms >intro.${PRINTER} | |
31 | ||
32 | toc.${PRINTER}: toc.in ptxx | |
33 | ${TROFF} -t toc.in >toc.${PRINTER} | |
34 | ||
35 | ptx.${PRINTER}: ptx.in ptxx | |
36 | ${TROFF} -t ptx.in >ptx.${PRINTER} | |
37 | ||
a3b93ea6 KM |
38 | title.prm.${PRINTER}: title.prm ptxx |
39 | ${TROFF} -t title.prm >title.prm.${PRINTER} | |
40 | ||
d5e70b6b KM |
41 | ptxx: |
42 | tocrc all | |
43 | tocrc t | |
44 | ||
45 | clean: | |
a3b93ea6 KM |
46 | rm -f title.urm.[PT]* preface.[PT]* intro.[PT]* toc.[PT]* ptx.[PT]* \ |
47 | title.prm.[PT]* ${TOCS} ptxx *.spell errs Errs make.out |