When making make, do cleandir *before* objdir or we'll end

up with a blown objdir for the depend stage, leaving the
.depend file in ${SRCDIR} instead.
This commit is contained in:
Jordan K. Hubbard 1997-09-26 09:31:41 +00:00
parent ee59fc38c1
commit c09eac88f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29872

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.144 1997/09/15 05:58:50 rgrimes Exp $
# $Id: Makefile,v 1.145 1997/09/16 10:45:41 bde Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@ -224,7 +224,7 @@ buildworld:
mkdir -p ${WORLDTMP}/usr/bin
cd ${.CURDIR}/usr.bin/make && \
${IBMAKE} -I${.CURDIR}/share/mk \
${OBJDIR} clean cleandepend depend && \
${CLEANDIR} ${OBJDIR} depend && \
${IBMAKE} -I${.CURDIR}/share/mk ${MK_FLAGS} \
all install clean cleandepend
@echo