aboutsummaryrefslogtreecommitdiff
path: root/share/doc
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-12-01 11:33:55 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-12-01 11:33:55 +0000
commit6e982e07ec616bfc364bd7caf31acc5828e12c63 (patch)
tree50f624fc01d1a08bd50b7259a501b8f9bf72a121 /share/doc
parent79aad71d3b33835ce949f49b85ea2c4b6b01581a (diff)
Notes
Diffstat (limited to 'share/doc')
-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 2de52db26305..ed02c5328471 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>