Makefile revision 2080
1#	@(#)Makefile	8.2 (Berkeley) 4/16/94
2
3# XXX MISSING:	man3f
4SUBDIR=	man1 man3 man4 man5 man7 man8
5SEDF= /usr/share/man/makewhatis.sed
6
7afterinstall:
8	install -c -o ${BINOWN} -g ${BINGRP} -m 444 makewhatis.sed \
9	    ${DESTDIR}${SEDF}
10
11makedb:
12	find /usr/share/man -type f -name '*.0' -print | \
13	while read file; \
14	do \
15		sed -n -f ${SEDF} $$file; \
16	done | col -b | sort -u > /tmp/whatis.db
17	install -o ${BINOWN} -g ${BINGRP} -m 444 /tmp/whatis.db \
18	    ${DESTDIR}/usr/share/man
19
20.include <bsd.subdir.mk>
21