From b91da6b07adf2915e2651f46bf7c23acf6a07838 Mon Sep 17 00:00:00 2001 From: jkh Date: Tue, 16 Aug 1994 22:44:28 +0000 Subject: Reenable the makedb stuff; it works fine. Submitted by: jkh --- share/man/Makefile | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'share/man/Makefile') diff --git a/share/man/Makefile b/share/man/Makefile index 303f28f..8af1d3f 100644 --- a/share/man/Makefile +++ b/share/man/Makefile @@ -4,17 +4,17 @@ 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 -# +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 + .include -- cgit v1.1