| 1 | # @(#)Makefile 6.4 (Berkeley) %G% |
| 2 | |
| 3 | DIR= ps1/18.curses |
| 4 | SRCS= Master macros appen.A appen.B appen.C intro.0 intro.1 \ |
| 5 | intro.2 intro.3 intro.4 intro.5 |
| 6 | MACROS= -me |
| 7 | |
| 8 | CLEANFILES+=win_st.gr twinkle1.gr twinkle2.gr life.gr intro.2.tbl appen.A.tbl |
| 9 | |
| 10 | paper.${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. |
| 23 | VFONT= /usr/libexec/vfontedpr |
| 24 | .c.gr: |
| 25 | ${VFONT} $*.c | grep -v "^'wh" > $*.gr |
| 26 | |
| 27 | intro.5: doc.I doc.II doc.III doc.IV |
| 28 | appen.B: win_st.gr |
| 29 | appen.C: twinkle1.gr life.gr twinkle2.gr |
| 30 | |
| 31 | intro.2.tbl: intro.2 |
| 32 | ${TBL} intro.2 > intro.2.tbl |
| 33 | |
| 34 | appen.A.tbl: appen.A |
| 35 | ${TBL} appen.A > appen.A.tbl |
| 36 | |
| 37 | .include <bsd.doc.mk> |