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