summaryrefslogtreecommitdiffstats
path: root/share/doc/papers/sysperf/Makefile
blob: ae567bce547e6d6c7312e2af6e581a3941f924e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	From: @(#)Makefile	1.6 (Berkeley) 6/8/93
#	$Id$

VOLUME=	papers
DOC=	sysperf
MACROS= -ms
LSRCS=	0.t 1.t 2.t 3.t 4.t 5.t 6.t 7.t
EXTRA=	a1.t a2.t
SRCS=	paper.tmp appendix.tmp
CLEANFILES+=${SRCS}
SRCDIR=	${.OBJDIR}
USE_EQN=	yes

paper.tmp: ${LSRCS}
	(cd ${.CURDIR}; ${TBL} ${LSRCS}) > paper.tmp

appendix.tmp: a1.t a2.t
	${GRIND} -f ${.CURDIR}/a1.t |  awk '/\.\(\)/{ cnt = 2 } \
	   { if (cnt) cnt -= 1; else print $$0; } ' > appendix.tmp
	${GRIND} -f -lcsh ${.CURDIR}/a2.t |  awk '/\.\(\)/{ cnt = 2 } \
	   { if (cnt) cnt -= 1; else print $$0; } ' >> appendix.tmp

.include <bsd.doc.mk>
OpenPOWER on IntegriCloud