summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorats <ats@FreeBSD.org>1994-09-04 23:19:12 +0000
committerats <ats@FreeBSD.org>1994-09-04 23:19:12 +0000
commitac18751c2b038406c51085295cb4dbaa1dc7ed5a (patch)
tree7aaee2f37241ab8463b4dbbd769478311f438d60 /share
parent8747eb313fb114149090b0aaffc1bd4b460c6807 (diff)
downloadFreeBSD-src-ac18751c2b038406c51085295cb4dbaa1dc7ed5a.zip
FreeBSD-src-ac18751c2b038406c51085295cb4dbaa1dc7ed5a.tar.gz
Reviewed by:
Submitted by: Delete the old style generation of the whatis database and replace it with the call to makewhatis. Don't install the old makewhatis.sed script under /usr/share/man any longer.
Diffstat (limited to 'share')
-rw-r--r--share/man/Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/share/man/Makefile b/share/man/Makefile
index 8af1d3f..bc15cf3e 100644
--- a/share/man/Makefile
+++ b/share/man/Makefile
@@ -2,19 +2,8 @@
# XXX MISSING: man3f
SUBDIR= man1 man3 man4 man5 man7 man8
-SEDF= /usr/share/man/makewhatis.sed
-
-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
+ makewhatis ${DESTDIR}${BINDIR}/man
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud