git: 41eb4a4ca299 - main - share/man: Add mandoc.db files to METALOG
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jan 2024 22:18:57 UTC
The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=41eb4a4ca299e54225b0c4b76244bf50f691ee62 commit 41eb4a4ca299e54225b0c4b76244bf50f691ee62 Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2024-01-30 22:17:34 +0000 Commit: Jessica Clarke <jrtc27@FreeBSD.org> CommitDate: 2024-01-30 22:17:34 +0000 share/man: Add mandoc.db files to METALOG Otherwise these are omitted for -DNO_ROOT builds, whether for disk images or dist tarballs. Reviewed by: brooks, emaste Differential Revision: https://reviews.freebsd.org/D43676 --- share/man/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/share/man/Makefile b/share/man/Makefile index 5c194aa8eb96..cf91101a27f0 100644 --- a/share/man/Makefile +++ b/share/man/Makefile @@ -10,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