1 # $NetBSD: Makefile,v 1.1 2008/09/02 09:25:39 christos Exp $
3 # @(#)Makefile 8.20 (Berkeley) 8/18/96
6 SRCS
= vi.ref ex.cmd.roff set.opt.roff vi.cmd.roff ref.so
8 CLEANFILES
+= vi.ref.txt vi.ref.ps index index.so
10 all: vi.ref.txt vi.ref.ps
12 vi.ref.txt
: vi.ref index.so
13 ${TOOL_SOELIM} vi.ref |
${TOOL_TBL} |
${TOOL_ROFF_ASCII} ${MACROS} > $@
17 vi.ref.ps
: vi.ref index.so
18 ${TOOL_SOELIM} vi.ref |
${TOOL_TBL} |
${TOOL_ROFF_PS} ${MACROS} > $@
23 # Build index.so, side-effect of building the paper.
24 ${TOOL_SOELIM} vi.ref |
${TOOL_TBL} | \
25 ${TOOL_ROFF_PS} ${MACROS} > /dev
/null
26 sed
-e
's/MINUSSIGN/\\-/' \
27 -e
's/DOUBLEQUOTE/""/' \
29 -e
's/ /__SPACE/g' < index | \
30 sort -u
'-t ' +0 -1 +1n | awk
-f merge.awk | \
31 sed
-e
's/__SPACE/ /g' > $@