Skip to content

Commit

Permalink
share/man: Add mandoc.db files to METALOG
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jrtc27 committed Jan 30, 2024
1 parent ce047eb commit 41eb4a4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions share/man/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 41eb4a4

Please sign in to comment.