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) 06/03/86
7#
8SRCS=	0.t 1.t 2.t 3.t 4.t 5.t 6.t a.t b.t c.t d.t e.t
9MACROS=	-ms
10PRINTER=Pdp
11TBL=	dtbl -${PRINTER}
12TROFF=	ditroff -${PRINTER}
13
14paper:	paper.${PRINTER}
15	lpr -${PRINTER} -n paper.${PRINTER}
16
17paper.${PRINTER}: ${SRCS}
18	${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
19
20clean:
21	rm -f paper.[PT]* *.spell errs Errs make.out
22
23spell:	${SRCS}
24	@for i in ${SRCS}; do \
25		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
26	done
27