Makefile revision 1.4
11.4Smycroft#	from: @(#)Makefile	5.9 (Berkeley) 7/1/91
21.4Smycroft#	$Id: Makefile,v 1.4 1993/07/31 15:29:16 mycroft Exp $
31.1Scgd
41.3ScgdSUBDIR=	man1 man3 man4 man5 man7 man8
51.2Scgd
61.1Scgdafterinstall:
71.1Scgd	install -c -o ${BINOWN} -g ${BINGRP} -m 444 makewhatis.sed \
81.1Scgd	    ${DESTDIR}/usr/share/man/makewhatis.sed
91.1Scgd	install -c -o ${BINOWN} -g ${BINGRP} -m 444 man0/COPYRIGHT \
101.1Scgd	    ${DESTDIR}/usr/share/man/COPYRIGHT
111.1Scgd
121.1Scgdmakedb:
131.1Scgd	for file in `find /usr/share/man -type f -name '*.0' -print`; do \
141.1Scgd		sed -n -f /usr/share/man/makewhatis.sed $$file; \
151.1Scgd	done | sort -u > whatis.db
161.1Scgd	install -o ${BINOWN} -g ${BINGRP} -m 444 whatis.db \
171.1Scgd	    ${DESTDIR}/usr/share/man
181.1Scgd
191.1Scgd.include <bsd.subdir.mk>
20