diff options
Diffstat (limited to 'share/doc')
-rw-r--r-- | share/doc/usd/13.viref/Makefile | 10 |
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> |