aboutsummaryrefslogtreecommitdiff
path: root/share/man/Makefile
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-08-16 22:44:28 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-08-16 22:44:28 +0000
commitd5ca85cdd424859d54063feac3dc67fb7a48bdf9 (patch)
tree77008e6c05e0bcfc5b58c5f3e81564718cf2cef9 /share/man/Makefile
parent269f64ea2a2f55018d517fa9942c458616e72a23 (diff)
downloadsrc-d5ca85cdd424859d54063feac3dc67fb7a48bdf9.tar.gz
src-d5ca85cdd424859d54063feac3dc67fb7a48bdf9.zip
Reenable the makedb stuff; it works fine.
Submitted by: jkh
Notes
Notes: svn path=/head/; revision=2080
Diffstat (limited to 'share/man/Makefile')
-rw-r--r--share/man/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/share/man/Makefile b/share/man/Makefile
index 303f28ffa675..8af1d3f8e5ed 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 <bsd.subdir.mk>