1#
2# Copyright (c) 1989 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	1.4 (Berkeley) 02/24/89
7#
8V1SRCS=	cover.t A.t B.t C.t D.t E.t F.t G.t H.t I.t J.t
9V2SRCS=	V2A.t V2B.t
10MACROS=	-ms
11PRINTER=Plz
12TBL=	dtbl -${PRINTER}
13TROFF=	ditroff -${PRINTER}
14
15all: V1.${PRINTER} V2.${PRINTER}
16
17V1.${PRINTER}: ${V1SRCS}
18	${TROFF} ${MACROS} -t ${V1SRCS} | psdit >V1.${PRINTER}
19
20V2.${PRINTER}: ${V2SRCS}
21	${TBL} ${V2SRCS} | ${TROFF} ${MACROS} -t | psdit >V2.${PRINTER}
22
23print: V1.${PRINTER} V2.${PRINTER}
24	lpr -${PRINTER} V1.${PRINTER} V2.${PRINTER}
25
26clean:
27	rm -f *.spell errs Errs make.out V1.${PRINTER} V2.${PRINTER}
28
29spell:	${V1SRCS} ${V2SRCS}
30	@for i in ${V1SRCS} ${V2SRCS}; do \
31		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
32	done
33