#
# Copyright (c) 1986 Regents of the University of California.
# All rights reserved.  The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
#       @(#)Makefile    6.1 (Berkeley) 5/23/86
#
SRCS=   mail0.nr mail1.nr mail2.nr mail3.nr mail4.nr mail5.nr mail6.nr \
       mail7.nr mail8.nr mail9.nr maila.nr

MACROS= -me
PRINTER=Pdp
TBL=    dtbl -${PRINTER}
TROFF=  ditroff -${PRINTER}

paper:  paper.${PRINTER}
       lpr -${PRINTER} -n paper.${PRINTER}

paper.${PRINTER}: ${SRCS}
       ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}

clean:
       rm -f paper.[PT]* *.spell errs Errs make.out

spell:  ${SRCS}
       @for i in ${SRCS}; do \
               echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
       done