1994-05-30 21:09:18 +02:00
|
|
|
# @(#)Makefile 8.2 (Berkeley) 4/16/94
|
|
|
|
|
1994-07-06 04:13:00 +02:00
|
|
|
# XXX MISSING: man3f
|
|
|
|
SUBDIR= man1 man3 man4 man5 man7 man8
|
1994-05-30 21:09:18 +02:00
|
|
|
SEDF= /usr/share/man/makewhatis.sed
|
|
|
|
|
1994-08-17 00:44:28 +02:00
|
|
|
afterinstall:
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 makewhatis.sed \
|
|
|
|
${DESTDIR}${SEDF}
|
|
|
|
|
|
|
|
makedb:
|
|
|
|
find /usr/share/man -type f -name '*.0' -print | \
|
|
|
|
while read file; \
|
|
|
|
do \
|
|
|
|
sed -n -f ${SEDF} $$file; \
|
|
|
|
done | col -b | sort -u > /tmp/whatis.db
|
|
|
|
install -o ${BINOWN} -g ${BINGRP} -m 444 /tmp/whatis.db \
|
|
|
|
${DESTDIR}/usr/share/man
|
|
|
|
|
1994-05-30 21:09:18 +02:00
|
|
|
.include <bsd.subdir.mk>
|