xref: /original-bsd/lib/libcurses/PSD.doc/Makefile (revision 3b6250d9)
1#	@(#)Makefile	6.4 (Berkeley) 06/30/90
2
3DIR=	ps1/18.curses
4SRCS=	Master macros appen.A appen.B appen.C intro.0 intro.1 \
5	intro.2 intro.3 intro.4 intro.5
6MACROS=	-me
7
8CLEANFILES+=win_st.gr twinkle1.gr twinkle2.gr life.gr intro.2.tbl appen.A.tbl
9
10paper.${PRINTER}: ${SRCS}
11	${ROFF} ${SRCS} > ${.TARGET}
12
13.SUFFIXES:
14.SUFFIXES: .c .gr
15
16#
17# this section formats C input source into nice troffable (or nroffable)
18# versions.  It uses the capabilites of "vgrind", which sets keywords in
19# bold font, and comments in italics.
20#
21
22# Don't re-run vgrind unless you want to patch the output files.
23VFONT=	/usr/libexec/vfontedpr
24.c.gr:
25	${VFONT} $*.c | grep -v "^'wh" > $*.gr
26
27intro.5: doc.I doc.II doc.III doc.IV
28appen.B: win_st.gr
29appen.C: twinkle1.gr life.gr twinkle2.gr
30
31intro.2.tbl: intro.2
32	${TBL} intro.2 > intro.2.tbl
33
34appen.A.tbl: appen.A
35	${TBL} appen.A > appen.A.tbl
36
37.include <bsd.doc.mk>
38