# /usr/src/man/doc/ps1/10.adb/Makefile

include /usr/src/COPYRIGHTS

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
