Combining "all" and "install" in one invocation is a very bad idea as

conditional evaluation is done only once in this case, and this may
not account for the fact that some conditionals would be evaluated
differently if "all" has already been run, like is the case with the
loader.help existance check in sys/boot/alpha/common/Makefile.common,
beforeinstall target.  This should fix Alpha snapshot builds.
This commit is contained in:
Ruslan Ermilov 2003-10-31 13:15:07 +00:00
parent 97b70925d0
commit 875ec8bdcf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121793

View File

@ -669,7 +669,8 @@ release.9:
.if exists(${.CURDIR}/../sys/boot/${TARGET}/loader)
cd ${.CURDIR}/../sys/boot/${TARGET}/loader; \
${WMAKE} clean cleandepend; \
${WMAKE} -DNOMAN -DNOFORTH all install DESTDIR=${RD}/trees/special
${WMAKE} -DNOMAN -DNOFORTH all; \
${WMAKE} -DNOMAN -DNOFORTH install DESTDIR=${RD}/trees/special
.endif
cp ${RD}/trees/base/etc/disktab /etc
rm -rf ${RD}/mfsfd