summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-12-01 11:33:55 +0000
committerru <ru@FreeBSD.org>2000-12-01 11:33:55 +0000
commit09e6bbaef9018a78afa10b572aca203012aa147e (patch)
tree77464d53d6b3df97d61ab5bed1dc69d4e6e58328 /share
parentac423cd7635ecdf35f9838cd0406b8de9aa8d1e5 (diff)
downloadFreeBSD-src-09e6bbaef9018a78afa10b572aca203012aa147e.zip
FreeBSD-src-09e6bbaef9018a78afa10b572aca203012aa147e.tar.gz
Eliminate a few more groff(1) warnings.
Diffstat (limited to 'share')
-rw-r--r--share/doc/usd/13.viref/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/doc/usd/13.viref/Makefile b/share/doc/usd/13.viref/Makefile
index 2de52db..ed02c53 100644
--- a/share/doc/usd/13.viref/Makefile
+++ b/share/doc/usd/13.viref/Makefile
@@ -5,23 +5,23 @@ VOLUME= usd/13.viref
SRCS= vi.ref
EXTRA= ex.cmd.roff ref.so set.opt.roff vi.cmd.roff
OBJS= index.so
-MACROS= -me
+MACROS= -me -U
CLEANFILES+=index index.so
USE_SOELIM= yes
USE_SOELIMPP= yes
USE_TBL= yes
SRCDIR= ${.CURDIR}/../../../../contrib/nvi/docs/USD.doc/vi.ref
-TRFLAGS+=-U
# Build index.so as a side-effect of building the paper.
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
- sed -e 's/MINUSSIGN/\\-/' \
+ sed -e 's/MINUSSIGN/-/' \
-e 's/DOUBLEQUOTE/""/' \
-e "s/SQUOTE/'/" \
-e 's/ /__SPACE/g' < index | \
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>
OpenPOWER on IntegriCloud