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.
This commit is contained in:
Greg Lehey 2002-05-19 03:57:58 +00:00
parent 0c7903d7f0
commit 86d27b3950

View File

@ -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 \