HomeFreeBSD

Makefile.incl1: .WAIT before distribute in etc

Description

Makefile.incl1: .WAIT before distribute in etc

In order to make sure that man pages are all installed before we run
makewhatis to generate mandoc.db files, we have long placed etc at the
end of the list of subdirectories being recursed into by the build.
In order to support installworld -jN, a .WAIT was more recently added
here.

With the recent adoption by the release engineering team of parallel
*release* builds (aka 'make release -jN') it is now also necessary to
add the same .WAIT before recursing for the 'distribute' target, as we
otherwise end up with distribution sets containing incomplete mandoc.db
files.

Approved by: re (cperciva)
Reviewed by: bdrewery
PR: 289683
MFC after: 3 days
Sponsored by: https://www.patreon.com/cperciva
Differential Revision: https://reviews.freebsd.org/D53533

(cherry picked from commit dcb6706ba494f34e2a2ce97e5c5f2867b9e1f5ef)
(cherry picked from commit 48dbf763337aea30e29971e751d3aa1044a555ef)

Details

Provenance
cpercivaAuthored on Nov 2 2025, 4:22 AM
Reviewer
bdrewery
Differential Revision
D53533: Makefile.incl1: .WAIT before distribute in etc
Parents
rG0888e3266377: release: Spell metalog_add_data conventionally
Branches
Unknown
Tags
Unknown