Add an extra ".WAIT" to the "realall realdepend" target to make sure
it finished cleaning the tools directory in case of tool directory mismatch before we try to rebuild the tools.
This commit is contained in:
parent
c14814103c
commit
71ee259418
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.99 2006/06/22 20:03:41 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.100 2006/07/12 10:49:11 tron Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -126,7 +126,7 @@ PREVIOUSTOOLDIR=
|
|||
|
||||
CLEANFILES+= PREVIOUSTOOLDIR
|
||||
|
||||
realall realdepend: .MAKE
|
||||
realall realdepend: .MAKE .WAIT
|
||||
.if "${PREVIOUSTOOLDIR}" != "${TOOLDIR}"
|
||||
@echo "*** WARNING: TOOLDIR has moved?"
|
||||
@echo "*** PREVIOUSTOOLDIR '${PREVIOUSTOOLDIR}'"
|
||||
|
|
Loading…
Reference in New Issue