freebsd-dev/usr.sbin/bsdinstall/Makefile
Simon J. Gerraty 0c3627f44d bsdinstall avoid subdir depending on parent
When not doing tree walks, it is bad for sub-dirs to depend on
parents.  Move the generation of opt_osname.h to distextract
and have others that need that depend on it.

In usr.sbin/bsdinstall use SUBDIR_DEPEND_ so tree walking still works.

Reviewed by:	obrien
Differential Revision:	https://reviews.freebsd.org/D39742
2023-04-20 22:00:40 -07:00

17 lines
344 B
Makefile

# $FreeBSD$
OSNAME?= FreeBSD
SUBDIR= distextract distfetch partedit runconsoles scripts
SUBDIR_PARALLEL=
SUBDIR_DEPEND_distfetch = distextract
SUBDIR_DEPEND_partedit = distextract
SCRIPTS= bsdinstall
MAN= bsdinstall.8
PACKAGE= bsdinstall
SCRIPTS+= startbsdinstall
SCRIPTSDIR_startbsdinstall= ${LIBEXECDIR}/bsdinstall
.include <bsd.prog.mk>