date and time created 88/09/30 10:07:53 by bostic
[unix-history] / usr / src / share / doc / psd / 01.cacm / Makefile
#
# 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.2 (Berkeley) %G%
#
SRCS= p.mac p1 p2 p3 p4 p5 p6
MACROS= -ms
PRINTER=Pdp
TBL= dtbl -${PRINTER}
TROFF= ditroff -${PRINTER}
REFER= refer -p /usr/old/dict/papers/Ind -e
paper: paper.${PRINTER}
lpr -${PRINTER} -n paper.${PRINTER}
paper.${PRINTER}: ${SRCS}
${REFER} ${SRCS} | ${TBL} | ${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