From owner-freebsd-stable Wed Jul 19 16: 9:44 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 5077337B538 for ; Wed, 19 Jul 2000 16:09:39 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.88.246]) by mta01-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000719230936.ZNMC26680.mta01-svc.ntlworld.com@parish.my.domain> for ; Thu, 20 Jul 2000 00:09:36 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id AAA02640 for stable@freebsd.org; Thu, 20 Jul 2000 00:09:15 +0100 (BST) (envelope-from mark) Date: Thu, 20 Jul 2000 00:09:15 +0100 From: Mark Ovens To: stable@freebsd.org Subject: Question about -DNOCLEAN when building the world Message-ID: <20000720000915.B239@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Organization: Total lack of Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What exactly is -DNOCLEAN supposed to do when building the world? I always make clean in /usr/src and completely remove /usr/obj after making the world (disk space) so there's nothing to clean but I still see lots of ``rm -rf'' scrolling by even when using -DNOCLEAN. Looking in /usr/src/Makefile.inc1 I find: .if !defined(NOCLEAN) rm -rf ${WORLDTMP} .else for dir in bin games include lib sbin; do \ rm -rf ${WORLDTMP}/usr/$$dir; \ done rm -f ${WORLDTMP}/sys # XXX - Work-around for broken cc/cc_tools/Makefile. # This is beyond dirty... rm -f ${OBJTREE}${.CURDIR}/gnu/usr.bin/cc/cc_tools/.depend .endif so it appears t still be doing a selective clean (on either non-existent dirs or ones that have been newly created). What is the reason for this? Is it just a "belt and braces" action? -- If I buy a copy of WinDelete, and it doesn't delete Windows, am I entitled to my money back? ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message