HomeFreeBSD

etcupdate: Use new buildetc and installetc targets when available

Description

etcupdate: Use new buildetc and installetc targets when available

These new targets avoid the need to invoke internal build system targets
or set internal variables when building, and also have the added benefit
of working with BUILD_WITH_STRICT_TMPPATH. Old source trees lacking such
targets will not work with BUILD_WITH_STRICT_TMPPATH; they could be made
to work by copying the steps, but it's not worth doing so, as they never
have worked in the past. The primary goal of this is to support changing
the default of BUILD_WITH_STRICT_TMPPATH to enabled.

Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D41206

Details

Provenance
jrtc27Authored on Jul 27 2023, 4:10 AM
Reviewer
jhb
Differential Revision
D41206: etcupdate: Use new buildetc and installetc targets when available
Parents
rGd81da4c98328: Makefile.inc1: Add new buildetc and installetc targets
Branches
Unknown
Tags
Unknown