From c09eac88f0c639e9ff5cf2e3e266e68f7bb994e6 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 26 Sep 1997 09:31:41 +0000 Subject: [PATCH] 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. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d585fef4dd08..8f2c32ef18ba 100644 --- a/Makefile +++ b/Makefile @@ -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