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