Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[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 # $DragonFly: src/gnu/usr.bin/man/apropos/Makefile,v 1.2 2003/06/17 04:25:46 dillon Exp $
3 MAINTAINER= wosch
4
5 SCRIPTS=apropos
6 MAN=    apropos.1
7 CLEANFILES+= ${SCRIPTS} ${MAN}
8
9 LINKS=  ${BINDIR}/apropos ${BINDIR}/whatis
10 MLINKS= apropos.1 whatis.1
11
12 .sh:
13         sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
14             -e 's,%pager%,${pager},' \
15                 ${.ALLSRC} > ${.TARGET}
16
17 apropos.1: apropos.man
18         sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
19             -e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
20             -e 's,%manpath_config_file%,${manpath_config_file},' \
21                 ${.ALLSRC} > ${.TARGET}
22
23 .include <bsd.prog.mk>