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.3 (Berkeley) 02/20/89
7#
8SRCS=	0.t 1.t 2.t 3.t
9MACROS=	-ms
10PRINTER=Plz
11TROFF=	ditroff -${PRINTER}
12REFER=	/a/staff/mckusick/book/ref/refer -m -n -e -l -s -p ref.bib
13
14paper.${PRINTER}: ${SRCS}
15	${REFER} ${SRCS} | ${TROFF} ${MACROS} -t tmac.srefs - | \
16		psdit >paper.${PRINTER}
17
18print: paper.${PRINTER}
19	lpr -${PRINTER} paper.${PRINTER}
20
21clean:
22	rm -f *.spell errs Errs make.out paper.${PRINTER}
23
24spell:	${SRCS}
25	@for i in ${SRCS}; do \
26		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
27	done
28