diff options
author | grog <grog@FreeBSD.org> | 2002-05-19 03:57:58 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2002-05-19 03:57:58 +0000 |
commit | f0904cb26d479b7da385a95058885b7f0b58a6bd (patch) | |
tree | e6b7d0a82423651b08c9c78521a06d214e3aa63c /share/doc | |
parent | 64c6d3150eb21ec0006125c88a1e63492e1d3c2c (diff) | |
download | FreeBSD-src-f0904cb26d479b7da385a95058885b7f0b58a6bd.zip FreeBSD-src-f0904cb26d479b7da385a95058885b7f0b58a6bd.tar.gz |
Make the documentation build.
This does not use the standard build macros for two reasons:
1. There's more than one document (paper and appendix).
2. The standard build macros need revision anyway (we shouldn't need
to set variables to get PostScript output, it should be a separate
target).
If anybody feels offended by this breach of style, feel free to fix
it.
Diffstat (limited to 'share/doc')
-rw-r--r-- | share/doc/usd/21.troff/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/share/doc/usd/21.troff/Makefile b/share/doc/usd/21.troff/Makefile index a2509d97..ca45c13 100644 --- a/share/doc/usd/21.troff/Makefile +++ b/share/doc/usd/21.troff/Makefile @@ -1,21 +1,28 @@ # @(#)Makefile 8.1 (Berkeley) 8/14/93 # $FreeBSD$ -DIR= usd/21.troff +VOLUME= usd/21.troff SRCS= m0 m0a m1 m2 m3 m4 m5 APNDX= table1 table2 MACROS= m.mac +GROFF= groff -all: paper.ps apndx.ps +all: paper.ps apndx.ps paper.txt apndx.txt paper.ps: ${SRCS} - ${TBL} ${SRCS} | ${ROFF} - > ${.TARGET} + ${TBL} ${SRCS} | ${GROFF} ${MACROS} - > ${.TARGET} apndx.ps: ${APNDX} + ${TBL} ${APNDX} | ${GROFF} - > ${.TARGET} + +paper.txt: ${SRCS} + ${TBL} ${SRCS} | ${ROFF} ${MACROS} - > ${.TARGET} + +apndx.txt: ${APNDX} ${TBL} ${APNDX} | ${ROFF} - > ${.TARGET} clean: - rm -f paper.ps apndx.ps *.spell errs Errs make.out + rm -f paper.* apndx.* *.spell errs Errs make.out spell: ${SRCS} ${APNDX} @for i in ${PAPER} ${APNDX}; do \ |