xref: /original-bsd/old/dbx/PSD.doc/Makefile (revision 7d595439)
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) 05/05/86
7#
8PRINTER=-Pdp
9TROFF=	ditroff ${PRINTER}
10TBL=	dtbl ${PRINTER}
11LPR=	lpr -n ${PRINTER}
12
13SRCS=	dbx.ms
14
15paper:	dbx.n
16	${LPR} dbx.n
17
18dbx.n:	${SRCS}
19	${TBL} ${SRCS} | ${TROFF} -t -msU >dbx.n
20
21clean:
22	rm -f dbx.n
23
24spell:	${SRCS}
25	@for i in ${SRCS}; do \
26		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
27	done
28