xref: /original-bsd/share/man/man0/Makefile (revision b9d18e58)
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#
6#	@(#)Makefile	6.2 (Berkeley) 05/15/86
7#
8TOCS=	toc1 toc2 toc3 toc3f toc4 toc5 toc6 toc7 toc8 \
9	tocx1 tocx2 tocx3 tocx3f tocx4 tocx5 tocx6 tocx7 tocx8
10MACROS=	-msU
11PRINTER=Pdp
12TROFF=	ditroff -${PRINTER}
13
14all: title.urm.${PRINTER} preface.${PRINTER} intro.${PRINTER} \
15     toc.${PRINTER} ptx.${PRINTER} title.prm.${PRINTER}
16	lpr -${PRINTER} -n title.urm.${PRINTER}
17	lpr -${PRINTER} -n preface.${PRINTER}
18	lpr -${PRINTER} -n intro.${PRINTER}
19	lpr -${PRINTER} -n toc.${PRINTER}
20	lpr -${PRINTER} -n ptx.${PRINTER}
21	lpr -${PRINTER} -n title.prm.${PRINTER}
22
23title.urm.${PRINTER}: title.urm
24	${TROFF} -t title.urm >title.urm.${PRINTER}
25
26preface.${PRINTER}: preface.ms
27	${TROFF} ${MACROS} -t preface.ms >preface.${PRINTER}
28
29intro.${PRINTER}: intro.ms
30	${TROFF} ${MACROS} -t intro.ms >intro.${PRINTER}
31
32toc.${PRINTER}: toc.in ptxx
33	${TROFF} -t toc.in >toc.${PRINTER}
34
35ptx.${PRINTER}: ptx.in ptxx
36	${TROFF} -t ptx.in >ptx.${PRINTER}
37
38title.prm.${PRINTER}: title.prm ptxx
39	${TROFF} -t title.prm >title.prm.${PRINTER}
40
41ptxx:
42	tocrc all
43	tocrc t
44
45clean:
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
48