xref: /csrg-svn/share/doc/papers/memfs/Makefile (revision 41770)
140921Smckusick#
240921Smckusick# Copyright (c) 1989 The Regents of the University of California.
340921Smckusick# All rights reserved.
440921Smckusick#
540921Smckusick# Redistribution and use in source and binary forms are permitted
640921Smckusick# provided that the above copyright notice and this paragraph are
740921Smckusick# duplicated in all such forms and that any documentation,
840921Smckusick# advertising materials, and other materials related to such
940921Smckusick# distribution and use acknowledge that the software was developed
1040921Smckusick# by the University of California, Berkeley.  The name of the
1140921Smckusick# University may not be used to endorse or promote products derived
1240921Smckusick# from this software without specific prior written permission.
1340921Smckusick# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1440921Smckusick# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1540921Smckusick# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1640921Smckusick#
17*41770Smckusick#	@(#)Makefile	1.4 (Berkeley) 05/12/90
1840921Smckusick#
1940921Smckusick
2040953SmckusickSRCS=	0.t 1.t
2140921SmckusickMACROS=	-ms
2240921SmckusickPRINTER=Plz
2340921SmckusickTROFF=	ditroff -${PRINTER}
2440921SmckusickREFER=	/a/staff/mckusick/book/ref/refer -m -n -e -l -s -p ref.bib
2540921SmckusickGRIND=	vgrind -f
2640921Smckusick
27*41770Smckusickpaper.${PRINTER}: paper.t
28*41770Smckusick	${TROFF} ${MACROS} -t tmac.srefs paper.t | psdit >paper.${PRINTER}
2940921Smckusick
30*41770Smckusickpaper.t: ${SRCS} ref.bib.ia A.gt
31*41770Smckusick	${REFER} ${SRCS} A.gt > paper.t
32*41770Smckusick
3340922Smckusickref.bib.ia: ref.bib
3440922Smckusick	indxbib ref.bib
3540922Smckusick
3640921SmckusickA.gt: A.t
3740921Smckusick	${GRIND} <A.t >A.gt
3840921Smckusick
3940921Smckusickprint: paper.${PRINTER}
4040921Smckusick	lpr -${PRINTER} paper.${PRINTER}
4140921Smckusick
4240921Smckusickclean:
4340922Smckusick	rm -f A.gt *.spell errs Errs make.out paper.${PRINTER} ref.bib.i?
4440921Smckusick
4540921Smckusickspell: ${SRCS}
4640921Smckusick	@for i in ${SRCS}; do \
4740921Smckusick		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
4840921Smckusick	done
49