From owner-cvs-usrbin Sun Sep 1 14:52:50 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA21247 for cvs-usrbin-outgoing; Sun, 1 Sep 1996 14:52:50 -0700 (PDT) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA21239; Sun, 1 Sep 1996 14:52:44 -0700 (PDT) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.7.5/8.6.9) with ESMTP id OAA11311; Sun, 1 Sep 1996 14:52:34 -0700 (PDT) To: Bruce Evans cc: bde@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/make make.1 In-reply-to: Your message of "Sun, 01 Sep 1996 07:06:47 +1000." <199608312106.HAA06437@godzilla.zeta.org.au> Date: Sun, 01 Sep 1996 14:52:33 -0700 Message-ID: <11307.841614753@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Thanks for volunteering to test it ;-). OK, first line testing done, and some questions: > *************** > *** 92,100 **** > # > cleanobj: > ! @if [ -d ${.TARGETOBJDIR} ]; then \ > ! rm -rf ${.TARGETOBJDIR}; \ > ! else \ > ! cd ${.CURDIR} && ${MAKE} clean cleandepend; \ > ! fi > .if defined(OBJLINK) > @if [ -h ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi > --- 84,88 ---- > # > cleanobj: > ! @if [ -d ${.CURDIR}/obj ]; then rm -rf ${.CURDIR}/obj; fi > .if defined(OBJLINK) > @if [ -h ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi How is this supposed to work? If I do a make cleandir with these patches, all it's going to do is remove the link in the link case and not clean anything (cleandir should clean the contents *and* remove the link). Jordan