Commit | Line | Data |
---|---|---|
e6c205e6 NC |
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 | # | |
bdc83412 | 6 | # @(#)Makefile 6.2 (Berkeley) %G% |
e6c205e6 NC |
7 | # |
8 | SRCS= p.mac p1 p2 p3 p4 p5 p6 | |
9 | MACROS= -ms | |
10 | PRINTER=Pdp | |
11 | TBL= dtbl -${PRINTER} | |
12 | TROFF= ditroff -${PRINTER} | |
bdc83412 | 13 | REFER= refer -p /usr/old/dict/papers/Ind -e |
e6c205e6 NC |
14 | |
15 | paper: paper.${PRINTER} | |
16 | lpr -${PRINTER} -n paper.${PRINTER} | |
17 | ||
18 | paper.${PRINTER}: ${SRCS} | |
bdc83412 | 19 | ${REFER} ${SRCS} | ${TBL} | ${TROFF} ${MACROS} -t > paper.${PRINTER} |
e6c205e6 NC |
20 | |
21 | clean: | |
22 | rm -f paper.[PT]* *.spell errs Errs make.out | |
23 | ||
24 | spell: ${SRCS} | |
25 | @for i in ${SRCS}; do \ | |
26 | echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \ | |
27 | done |