aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/man/apropos/Makefile
blob: e5d485b18d185c20258989e553dbe64a1de551c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $FreeBSD: src/gnu/usr.bin/man/apropos/Makefile,v 1.17.14.1 2010/12/21 17:10:29 kensmith Exp $

SCRIPTS=apropos
MAN=	apropos.1
CLEANFILES+= ${SCRIPTS} ${MAN}

LINKS=	${BINDIR}/apropos ${BINDIR}/whatis
MLINKS=	apropos.1 whatis.1

.sh:
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' \
		${.ALLSRC} > ${.TARGET}

apropos.1: apropos.man
	sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
	    -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
	    -e 's,%manpath_config_file%,${manpath_config_file},' \
		${.ALLSRC} > ${.TARGET}

.include <bsd.prog.mk>