diff options
Diffstat (limited to 'share/man/Makefile')
-rw-r--r-- | share/man/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/share/man/Makefile b/share/man/Makefile index 59a1ab9dbc36..cf91101a27f0 100644 --- a/share/man/Makefile +++ b/share/man/Makefile @@ -1,5 +1,3 @@ -# @(#)Makefile 8.2 (Berkeley) 4/16/94 -# $FreeBSD$ .include <src.opts.mk> @@ -12,8 +10,16 @@ MAKEWHATIS?= makewhatis makedb: .if ${MK_MAN_UTILS} != "no" ${MAKEWHATIS} ${DESTDIR}${BINDIR}/man +.if defined(NO_ROOT) && defined(METALOG) + echo ".${DISTBASE}${BINDIR}/man/mandoc.db type=file mode=0644 uname=root gname=wheel" | \ + cat -l >> ${METALOG} +.endif .if ${MK_OPENSSL} != "no" ${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man +.if defined(NO_ROOT) && defined(METALOG) + echo ".${DISTBASE}${BINDIR}/openssl/man/mandoc.db type=file mode=0644 uname=root gname=wheel" | \ + cat -l >> ${METALOG} +.endif .endif .endif |