# $Header: Makefile,v 4.300 91/06/08 01:38:42 root Rel41 $ SONY;
#
# Copyright (c) 1986 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) 4/29/86
#
SRCS = 	manDefs.rno manCh0.rno manCh1.rno\
	manCh2.rno manCh3.rno manCh4.rno manCh5.rno\
	manCh6.rno manCh7.rno refs.rno manApp.rno
TBL=tbl
EQN=eqn
TROFF=	ditroff
MACROS= -me

paper:	paper.out
	lpr -n paper.out

paper.out: ${SRCS}
	${TBL} ${SRCS} | ${EQN} | ${TROFF} ${MACROS} -t > paper.out

clean:
	rm -f paper.[PT]* *.spell errs Errs paper.out core

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