Commit | Line | Data |
---|---|---|
a3634a2d | 1 | # @(#)Makefile 5.7 (Berkeley) %G% |
d2250bdf | 2 | |
662ace95 | 3 | SUBDIR= man3 man3f man4 man5 man7 man8 |
d2250bdf | 4 | |
662ace95 KB |
5 | afterinstall: |
6 | install -c -o ${BINOWN} -g ${BINGRP} -m 444 makewhatis.sed \ | |
7 | ${DESTDIR}/usr/share/man/makewhatis.sed | |
8 | ||
9 | makedb: | |
f7d36bc9 KB |
10 | for file in `find /usr/share/man -type f -name '*.0' -print`; do \ |
11 | sed -n -f /usr/share/man/makewhatis.sed $$file; \ | |
d2250bdf | 12 | done | sort -u > whatis.db |
662ace95 KB |
13 | install -o ${BINOWN} -g ${BINGRP} -m 444 whatis.db \ |
14 | ${DESTDIR}/usr/share/man | |
d2250bdf | 15 | |
662ace95 | 16 | .include <bsd.subdir.mk> |