EQN	=	eqn
FILES	= 	ppeals.ms
GRN	=	/usr/local/ditroff/grn -Pps
GRNFILES =	tree.grn presto.parts.grn
LPR	=	lpr -Pps127 -n
NROFF	=	nroff -ms
TROFF 	=	/usr/local/ditroff/troff -ms -Pps -t
TBL	= 	tbl	


all:	coversheet ppeals figs

coversheet:	coversheet.dit
		${LPR} coversheet.dit

coversheet.dit:	coversheet.ms
		${TROFF} coversheet.ms > coversheet.dit

ppeals:		ppeals.dit
		${LPR} ppeals.dit

ppeals.dit:	${FILES} 
		cat ${FILES} | ${GRN} | ${TBL} | ${EQN} | ${TROFF} > ppeals.dit

figs:		figs.dit
		${LPR} figs.dit

figs.dit:	figs.ms ${GRNFILES}
		${GRN} figs.ms | ${TROFF} > figs.dit

nroff.out:	${FILES}
		cat ${FILES} | ${TBL} | ${EQN} | ${NROFF} > nroff.out

preview:	ppeals.dit
		xproof ppeals.dit
