xref: /csrg-svn/share/doc/papers/memfs/Makefile (revision 40953)
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*40953Smckusick#	@(#)Makefile	1.3 (Berkeley) 04/16/90
1840921Smckusick#
1940921Smckusick
20*40953SmckusickSRCS=	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
2740922Smckusickpaper.${PRINTER}: ${SRCS} ref.bib.ia A.gt
28*40953Smckusick	${REFER} ${SRCS} A.gt | ${TROFF} ${MACROS} -t tmac.srefs - | \
2940921Smckusick		psdit >paper.${PRINTER}
3040921Smckusick
3140922Smckusickref.bib.ia: ref.bib
3240922Smckusick	indxbib ref.bib
3340922Smckusick
3440921SmckusickA.gt: A.t
3540921Smckusick	${GRIND} <A.t >A.gt
3640921Smckusick
3740921Smckusickprint: paper.${PRINTER}
3840921Smckusick	lpr -${PRINTER} paper.${PRINTER}
3940921Smckusick
4040921Smckusickclean:
4140922Smckusick	rm -f A.gt *.spell errs Errs make.out paper.${PRINTER} ref.bib.i?
4240921Smckusick
4340921Smckusickspell: ${SRCS}
4440921Smckusick	@for i in ${SRCS}; do \
4540921Smckusick		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
4640921Smckusick	done
47