Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / lib / libcurses / PSD.doc / Makefile
blob4226307bb38222c7b1826aadfc775747afb2049d
1 # $NetBSD: Makefile,v 1.9 2002/08/13 20:07:31 pooka Exp $
2 # from: @(#)Makefile 8.2 (Berkeley) 5/23/94
4 DIR= psd/19.curses
5 SRCS= Master
6 MACROS= -me
7 OTHER= appen.A appen.B appen.C doc.I doc.II doc.III doc.IV fns.doc \
8 intro.0 intro.1 intro.3 intro.4 intro.5 intro.6 \
9 macros c_macros
10 CEXAMPLES= ex1.gr ex2.gr life.gr twinkle1.gr twinkle2.gr win_st.gr
11 TBLFILES= intro.2.tbl
12 EXTRA= ${OTHER} ${CEXAMPLES:R:S/$/.c/g} ${TBLFILES:R}
14 CLEANFILES+= ${CEXAMPLES} ${TBLFILES}
16 .SUFFIXES:
17 .SUFFIXES: .c .gr
20 # this section formats C input source into nice troffable (or nroffable)
21 # versions. It uses the capabilites of "vgrind", which sets keywords in
22 # bold font, and comments in italics.
26 # Don't re-run vgrind unless you want to patch the output files.
27 # XXXBUILDSH: can we use TOOL_VGRIND here ?
28 VFONT= /usr/libexec/vfontedpr
29 .c.gr:
30 ${VFONT} ${.IMPSRC} | grep -v "^'wh" > ${.TARGET}
32 paper.ps: ${SRCS} ${OTHER} ${CEXAMPLES} ${TBLFILES}
33 ${TOOL_SOELIM} -I${.CURDIR} Master | \
34 ${TOOL_ROFF_PS} ${MACROS} > ${.TARGET}
36 # Unfortunately our make doesn't handle single-suffix rules.
37 intro.2.tbl: intro.2
38 ${TOOL_TBL} ${.ALLSRC} > ${.TARGET}
40 .include <bsd.doc.mk>