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

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

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

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