date and time created 86/05/23 12:06:30 by kjd
[unix-history] / usr / src / usr.bin / mail / USD.doc / Makefile
CommitLineData
19b69d5e
KD
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.1 (Berkeley) %G%
7#
8SRCS= mail0.nr mail1.nr mail2.nr mail3.nr mail4.nr mail5.nr mail6.nr \
9 mail7.nr mail8.nr mail9.nr maila.nr
10
11MACROS= -me
12PRINTER=Pdp
13TBL= dtbl -${PRINTER}
14TROFF= ditroff -${PRINTER}
15
16paper: paper.${PRINTER}
17 lpr -${PRINTER} -n paper.${PRINTER}
18
19paper.${PRINTER}: ${SRCS}
20 ${TBL} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
21
22clean:
23 rm -f paper.[PT]* *.spell errs Errs make.out
24
25spell: ${SRCS}
26 @for i in ${SRCS}; do \
27 echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
28 done