1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00
openbsd-src/share/man/Makefile
schwarze 78be3774fe Build full mandoc.db(5) databases by default using makewhatis(8)
without -Q during the build and in weekly(8).  According to tests
by many developers, makewhatis(8) takes a few minutes at most even
on slower hardware like octeon, loongson, ALIX, RPI3, Soekris,
cubox, softiron etc., and security(8) is often worse than makewhatis(8).

In case this causes excessive weekly(8) run times on even slower
(~50 MHz-class) CPUs, consider adding "MAKEWHATISARGS=-Q" to
/etc/weekly.local on machines that feel unhappy.

OK sthen@ kettenis@ millert@ deraadt@
2017-04-15 13:12:08 +00:00

16 lines
476 B
Makefile

# $OpenBSD: Makefile,v 1.13 2017/04/15 13:12:08 schwarze Exp $
# from: @(#)Makefile 5.9 (Berkeley) 7/1/91
SUBDIR= man1 man3 man4 man5 man6 man7 man8 man9
afterinstall:
${INSTALL} ${INSTALL_COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
man0/COPYRIGHT ${DESTDIR}/usr/share/man/COPYRIGHT
makedb:
/usr/sbin/makewhatis ${DESTDIR}/usr/share/man
chown root:wheel ${DESTDIR}/usr/share/man/mandoc.db
chmod 644 ${DESTDIR}/usr/share/man/mandoc.db
.include <bsd.subdir.mk>