xref: /original-bsd/usr.bin/sccs/PSD.doc/Makefile (revision 262b24ac)
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) 04/20/86
7#
8SRCS=	sccs.me
9MACROS=	-me
10PRINTER=Pdp
11TROFF=	ditroff -${PRINTER}
12
13paper:	paper.${PRINTER}
14	lpr -${PRINTER} -n paper.${PRINTER}
15
16paper.${PRINTER}: ${SRCS}
17	${TROFF} ${MACROS} -t ${SRCS} > paper.${PRINTER}
18
19clean:
20	rm -f paper.${PRINTER} *.spell errs Errs make.out
21
22spell:	${SRCS}
23	@for i in ${SRCS}; do \
24		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
25	done
26