summaryrefslogtreecommitdiff
path: root/share/doc/papers/sysperf/Makefile
blob: c8f4cc81a77fe0fffe5d9ea8ca47708f15e10111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	$OpenBSD: Makefile,v 1.2 2001/02/03 08:15:02 niklas Exp $


DIR=	papers/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
OBJS=	paper.tmp appendix.tmp
CLEANFILES+=${OBJS}

paper.ps: ${OBJS}
	${ROFF} ${OBJS} > ${.TARGET}

paper.tmp: ${SRCS}
	${TBL} ${SRCS} | ${EQN} > paper.tmp

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

.include <bsd.doc.mk>