1 # $NetBSD: Makefile,v 1.5 2014/09/10 21:44:22 christos Exp $
3 # @(#)Makefile 8.20 (Berkeley) 8/18/96
5 SECTION
= reference
/ref1
8 DEPSRCS
= ex.cmd.roff set.opt.roff vi.cmd.roff ref.so index.so
9 # Add -U to the macros if you want to build the index since it needs
13 CLEANFILES
+= index index.so
17 # index.so is generated.
19 ${TOOL_SOELIM} -I
${.CURDIR
} ${.ALLSRC
} |
${TOOL_TBL} | \
20 ${TOOL_ROFF_PS} ${MACROS} > /dev
/null
21 sed
-e
's/MINUSSIGN/\\-/' \
22 -e
's/DOUBLEQUOTE/""/' \
24 -e
's/ /__SPACE/g' < index | \
25 sort -u
'-t ' +0 -1 +1n | awk
-f
${.CURDIR
}/merge.awk | \
26 sed
-e
's/__SPACE/ /g' > $@