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