Merge branch 'vendor/GDB'
[dragonfly.git] / share / doc / papers / sysperf / Makefile
1 #       From: @(#)Makefile      1.6 (Berkeley) 6/8/93
2 # $FreeBSD: src/share/doc/papers/sysperf/Makefile,v 1.5.2.1 2000/11/28 11:18:48 ru Exp $
3 # $DragonFly: src/share/doc/papers/sysperf/Makefile,v 1.2 2003/06/17 04:36:56 dillon Exp $
4
5 VOLUME= papers
6 DOC=    sysperf
7 MACROS= -ms
8 LSRCS=  0.t 1.t 2.t 3.t 4.t 5.t 6.t 7.t
9 EXTRA=  a1.t a2.t
10 SRCS=   paper.tmp appendix.tmp
11 CLEANFILES+=${SRCS}
12 SRCDIR= ${.OBJDIR}
13 USE_EQN=        yes
14
15 paper.tmp: ${LSRCS}
16         (cd ${.CURDIR}; ${TBL} ${LSRCS}) > paper.tmp
17
18 appendix.tmp: a1.t a2.t
19         ${GRIND} ${.CURDIR}/a1.t |  awk '/\.\(\)/{ cnt = 2 } \
20            { if (cnt) cnt -= 1; else print $$0; } ' > appendix.tmp
21         ${GRIND} -lcsh ${.CURDIR}/a2.t |  awk '/\.\(\)/{ cnt = 2 } \
22            { if (cnt) cnt -= 1; else print $$0; } ' >> appendix.tmp
23
24 .include <bsd.doc.mk>