mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
Reenable the makedb stuff; it works fine.
Submitted by: jkh
This commit is contained in:
parent
269f64ea2a
commit
d5ca85cdd4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2080
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user