xref: /csrg-svn/share/doc/papers/memfs/Makefile (revision 40921)
1*40921Smckusick#
2*40921Smckusick# Copyright (c) 1989 The Regents of the University of California.
3*40921Smckusick# All rights reserved.
4*40921Smckusick#
5*40921Smckusick# Redistribution and use in source and binary forms are permitted
6*40921Smckusick# provided that the above copyright notice and this paragraph are
7*40921Smckusick# duplicated in all such forms and that any documentation,
8*40921Smckusick# advertising materials, and other materials related to such
9*40921Smckusick# distribution and use acknowledge that the software was developed
10*40921Smckusick# by the University of California, Berkeley.  The name of the
11*40921Smckusick# University may not be used to endorse or promote products derived
12*40921Smckusick# from this software without specific prior written permission.
13*40921Smckusick# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14*40921Smckusick# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15*40921Smckusick# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16*40921Smckusick#
17*40921Smckusick#	@(#)Makefile	1.1 (Berkeley) 04/13/90
18*40921Smckusick#
19*40921Smckusick
20*40921SmckusickSRCS=	0.t 1.t A.gt
21*40921SmckusickMACROS=	-ms
22*40921SmckusickPRINTER=Plz
23*40921SmckusickTROFF=	ditroff -${PRINTER}
24*40921SmckusickREFER=	/a/staff/mckusick/book/ref/refer -m -n -e -l -s -p ref.bib
25*40921SmckusickGRIND=	vgrind -f
26*40921Smckusick
27*40921Smckusickpaper.${PRINTER}: ${SRCS}
28*40921Smckusick	${REFER} ${SRCS} | ${TROFF} ${MACROS} -t tmac.srefs - | \
29*40921Smckusick		psdit >paper.${PRINTER}
30*40921Smckusick
31*40921SmckusickA.gt: A.t
32*40921Smckusick	${GRIND} <A.t >A.gt
33*40921Smckusick
34*40921Smckusickprint: paper.${PRINTER}
35*40921Smckusick	lpr -${PRINTER} paper.${PRINTER}
36*40921Smckusick
37*40921Smckusickclean:
38*40921Smckusick	rm -f *.spell errs Errs make.out paper.${PRINTER}
39*40921Smckusick
40*40921Smckusickspell: ${SRCS}
41*40921Smckusick	@for i in ${SRCS}; do \
42*40921Smckusick		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
43*40921Smckusick	done
44