2.11BSD/doc/ps1/10.adb/Makefile

#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved.  The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
#	@(#)Makefile	6.1 (Berkeley) 5/7/86
#
PRINTER=-Pdp
TROFF=	ditroff ${PRINTER}
EQN=	deqn ${PRINTER}
TBL=	dtbl ${PRINTER}
LPR=	lpr -n ${PRINTER}

SRCS=	adb.ms

paper:	adb.n
	${LPR} adb.n

adb.n:	${SRCS}
	${EQN} ${SRCS} | ${TBL} | ${TROFF} -t -ms >adb.n

clean:
	rm -f adb.n

spell:	${SRCS}
	@for i in ${SRCS}; do \
		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
	done