HomeFreeBSD

freebsd-update: improve mandoc db generation

Description

freebsd-update: improve mandoc db generation

freebsd-update compares the dates on man pages with mandoc.db, and if
any newer pages are found it regenerates mandoc.db.

Previously, if mandoc.db did not already exist the check failed and
freebsd-update then failed to create one. Now, check that mandoc.db
exists before performing the check for newer pages.

Reported by: bdrewery (in D10482)
Reviewed by: gordon
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29575

(cherry picked from commit 741223a65cd1752360c44341b762295f633e21cf)

Details

Provenance
emasteAuthored on Apr 4 2021, 12:57 AM
Reviewer
gordon
Differential Revision
D29575: freebsd-update: improve mandoc db generation
Parents
rGfa5210b55a35: sysctl.conf(5): Mention sysctl.conf.local in the sysctl.conf(5) manual page
Branches
Unknown
Tags
Unknown