Build this document in a standard way.

This commit is contained in:
Ruslan Ermilov 2002-05-20 13:53:22 +00:00
parent 11c1512cf5
commit 79460241e6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96993

View File

@ -3,36 +3,8 @@
VOLUME= usd/21.troff
SRCS= m0 m0a m1 m2 m3 m4 m5
APNDX= table1 table2
SRCS+= table1 table2
MACROS= m.mac
GROFF= groff
all: paper.ps apndx.ps paper.txt apndx.txt
paper.ps: ${SRCS}
${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}
paper.ascii.gz: paper.txt apndx.txt
cat paper.txt apndx.txt | gzip -c > ${.TARGET}
paper.ps.gz: paper.ps
gzip -f paper.ps
clean:
rm -f paper.* apndx.* *.spell errs Errs make.out
spell: ${SRCS} ${APNDX}
@for i in ${PAPER} ${APNDX}; do \
echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
done
USE_TBL=YES
.include <bsd.doc.mk>