Commit | Line | Data |
---|---|---|
37fdead6 | 1 | # @(#)Makefile 6.4 (Berkeley) %G% |
da55915a | 2 | |
37fdead6 KB |
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 | |
da55915a | 7 | |
37fdead6 KB |
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} | |
da55915a | 12 | |
54147df3 KM |
13 | .SUFFIXES: |
14 | .SUFFIXES: .c .gr | |
da55915a KM |
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 | ||
fa6c8a79 | 22 | # Don't re-run vgrind unless you want to patch the output files. |
37fdead6 | 23 | VFONT= /usr/libexec/vfontedpr |
54147df3 KM |
24 | .c.gr: |
25 | ${VFONT} $*.c | grep -v "^'wh" > $*.gr | |
da55915a | 26 | |
37fdead6 | 27 | intro.5: doc.I doc.II doc.III doc.IV |
da55915a KM |
28 | appen.B: win_st.gr |
29 | appen.C: twinkle1.gr life.gr twinkle2.gr | |
30 | ||
31 | intro.2.tbl: intro.2 | |
1b0f8d85 | 32 | ${TBL} intro.2 > intro.2.tbl |
da55915a KM |
33 | |
34 | appen.A.tbl: appen.A | |
1b0f8d85 | 35 | ${TBL} appen.A > appen.A.tbl |
da55915a | 36 | |
37fdead6 | 37 | .include <bsd.doc.mk> |