xref: /csrg-svn/old/lisp/fp/PSD.doc/Makefile (revision 27511)
1*27511Scuccia#
2*27511Scuccia# Copyright (c) 1986 Regents of the University of California.
3*27511Scuccia# All rights reserved.  The Berkeley software License Agreement
4*27511Scuccia# specifies the terms and conditions for redistribution.
5*27511Scuccia#
6*27511Scuccia#	@(#)Makefile	6.1 (Berkeley) 04/29/86
7*27511Scuccia#
8*27511ScucciaSRCS = 	manDefs.rno manCh0.rno manCh1.rno\
9*27511Scuccia	manCh2.rno manCh3.rno manCh4.rno manCh5.rno\
10*27511Scuccia	manCh6.rno manCh7.rno refs.rno manApp.rno
11*27511ScucciaPRINTER=Pdp
12*27511ScucciaTBL=dtbl -${PRINTER}
13*27511ScucciaEQN=deqn -${PRINTER}
14*27511ScucciaTROFF=	ditroff -${PRINTER}
15*27511ScucciaMACROS= -me
16*27511Scuccia
17*27511Scucciapaper:	paper.${PRINTER}
18*27511Scuccia	lpr -${PRINTER} -n paper.${PRINTER}
19*27511Scuccia
20*27511Scucciapaper.${PRINTER}: ${SRCS}
21*27511Scuccia	${TBL} ${SRCS} | ${EQN} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
22*27511Scuccia
23*27511Scucciaclean:
24*27511Scuccia	rm -f paper.[PT]* *.spell errs Errs make.out
25*27511Scuccia
26*27511Scucciaspell:	${SRCS}
27*27511Scuccia	@for i in ${SRCS}; do \
28*27511Scuccia		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
29*27511Scuccia	done
30