From 9c827cecbd39afe6d8d07e605146e65fc6bf2be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 27 Feb 2007 13:02:29 +0000 Subject: [PATCH] Clean the lib32 object directory with cleandir rather than rm -rf. Discussed with: ru MFC after: 2 weeks --- Makefile.inc1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 8bb86809a26f..e5917b34f8cc 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -264,6 +264,7 @@ LIB32MAKEENV= MAKEOBJDIRPREFIX=${OBJTREE}/lib32 \ LIB32MAKE= ${LIB32MAKEENV} ${MAKE} -DNO_CPU_CFLAGS -DCOMPAT_32BIT \ -DWITHOUT_BIND -DWITHOUT_MAN -DWITHOUT_NLS -DWITHOUT_INFO \ -DWITHOUT_HTML +LIB32WMAKE= ${LIB32MAKE} -fMakefile.inc1 DESTDIR=${LIB32TMP} LIB32IMAKE= ${LIB32MAKE:NINSTALL=*} -DNO_INCS .endif @@ -364,7 +365,7 @@ _cleanobj: @echo "--------------------------------------------------------------" ${_+_}cd ${.CURDIR}; ${WMAKE} ${CLEANDIR:S/^/par-/} .if ${TARGET_ARCH} == "amd64" - rm -rf ${OBJTREE}/lib32 + ${_+_}cd ${.CURDIR}; ${LIB32WMAKE} ${CLEANDIR:S/^/par-/} .endif .endif _obj: