NetBSD/share/doc/ps1/18.curses/Makefile

43 lines
1.0 KiB
Makefile

# from: @(#)Makefile 6.4 (Berkeley) 6/30/90
# $Id: Makefile,v 1.6 1994/01/24 22:36:54 cgd Exp $
DIR= ps1/18.curses
DOC= 18.curses
SRCS= Master macros appen.A appen.B appen.C intro.0 intro.1 \
intro.2 intro.3 intro.4 intro.5
MACROS= -me
CLEANFILES+=win_st.gr twinkle1.gr twinkle2.gr life.gr intro.2.tbl appen.A.tbl
.include <bsd.doc.mk>
${DOC}.${PRINTER_TYPE}: ${SRCS}
( cd ${.CURDIR} ; ${ROFF} ${SRCS} ) > ${.TARGET}
.SUFFIXES:
.SUFFIXES: .c .gr
#
# this section formats C input source into nice troffable (or nroffable)
# versions. It uses the capabilites of "vgrind", which sets keywords in
# bold font, and comments in italics.
#
# Don't re-run vgrind unless you want to patch the output files.
VFONT= /usr/libexec/vfontedpr
.c.gr:
( cd ${.CURDIR} ; ${VFONT} $*.c ) | grep -v "^'wh" > $*.gr
.VPATH: ${.OBJDIR}
intro.5: doc.I doc.II doc.III doc.IV
appen.B: win_st.gr
appen.C: twinkle1.gr life.gr twinkle2.gr
intro.2.tbl: intro.2
( cd ${.CURDIR} ; ${TBL} intro.2 ) > intro.2.tbl
appen.A.tbl: appen.A
( cd ${.CURDIR} ; ${TBL} appen.A ) > appen.A.tbl