Initial import from FreeBSD RELENG_4:
[dragonfly.git] / gnu / usr.bin / man / apropos / Makefile
1 # $FreeBSD: src/gnu/usr.bin/man/apropos/Makefile,v 1.15.2.1 2001/04/25 14:04:13 ru Exp $
2 MAINTAINER= wosch
3
4 SCRIPTS=apropos
5 MAN=    apropos.1
6 CLEANFILES+= ${SCRIPTS} ${MAN}
7
8 LINKS=  ${BINDIR}/apropos ${BINDIR}/whatis
9 MLINKS= apropos.1 whatis.1
10
11 .sh:
12         sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
13             -e 's,%pager%,${pager},' \
14                 ${.ALLSRC} > ${.TARGET}
15
16 apropos.1: apropos.man
17         sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
18             -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
19             -e 's,%manpath_config_file%,${manpath_config_file},' \
20                 ${.ALLSRC} > ${.TARGET}
21
22 .include <bsd.prog.mk>