Eliminate a few more groff(1) warnings.

This commit is contained in:
Ruslan Ermilov 2000-12-01 11:33:55 +00:00
parent 79aad71d3b
commit 6e982e07ec

View File

@ -5,23 +5,23 @@ VOLUME= usd/13.viref
SRCS= vi.ref SRCS= vi.ref
EXTRA= ex.cmd.roff ref.so set.opt.roff vi.cmd.roff EXTRA= ex.cmd.roff ref.so set.opt.roff vi.cmd.roff
OBJS= index.so OBJS= index.so
MACROS= -me MACROS= -me -U
CLEANFILES+=index index.so CLEANFILES+=index index.so
USE_SOELIM= yes USE_SOELIM= yes
USE_SOELIMPP= yes USE_SOELIMPP= yes
USE_TBL= yes USE_TBL= yes
SRCDIR= ${.CURDIR}/../../../../contrib/nvi/docs/USD.doc/vi.ref SRCDIR= ${.CURDIR}/../../../../contrib/nvi/docs/USD.doc/vi.ref
TRFLAGS+=-U
# Build index.so as a side-effect of building the paper. # Build index.so as a side-effect of building the paper.
index.so: ${SRCS} ${EXTRA} index.so: ${SRCS} ${EXTRA}
${SOELIMPP} -e 's:^\.so index.so$$::' ${SRCS:S;^;${SRCDIR}/;} | \ (cd ${SRCDIR}; ${SOELIMPP} -e 's:^\.so index.so$$::' ${SRCS}) | \
${ROFF} > /dev/null ${ROFF} > /dev/null
sed -e 's/MINUSSIGN/\\-/' \ sed -e 's/MINUSSIGN/-/' \
-e 's/DOUBLEQUOTE/""/' \ -e 's/DOUBLEQUOTE/""/' \
-e "s/SQUOTE/'/" \ -e "s/SQUOTE/'/" \
-e 's/ /__SPACE/g' < index | \ -e 's/ /__SPACE/g' < index | \
sort -u '-t ' +0 -1 +1n | awk -f ${SRCDIR}/merge.awk | \ sort -u '-t ' +0 -1 +1n | awk -f ${SRCDIR}/merge.awk | \
sed -e 's/__SPACE/ /g' > index.so sed -e 's/__SPACE/ /g' \
-e "s/^\\(['\\.]\\)/\\\\\&\\1/" > index.so
.include <bsd.doc.mk> .include <bsd.doc.mk>