Makefile.inc1: Add new buildetc and installetc targets
authorJessica Clarke <jrtc27@FreeBSD.org>
Thu, 27 Jul 2023 04:10:49 +0000 (05:10 +0100)
committerJessica Clarke <jrtc27@FreeBSD.org>
Thu, 27 Jul 2023 04:10:49 +0000 (05:10 +0100)
commitd81da4c98328d4ee3fe4c0a85f6874a3c69a1afd
tree286360b85648ce4f59f3d37d6a737fe439e67df0
parent03e62670c33c5d68ea69c842c24fe86765e2639e
Makefile.inc1: Add new buildetc and installetc targets

These implement the steps that etcupdate (and mergemaster) need in order
to build their pristine trees, avoiding the need to use internal targets
and variables. Additionally, buildetc includes the steps needed to build
with BUILD_WITH_STRICT_TMPPATH enabled, since we need some host tools to
be available during the various build and install steps.

Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D41205
Makefile
Makefile.inc1