From owner-cvs-all Mon May 28 3:43:26 2001 Delivered-To: cvs-all@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id D3D6137B424 for ; Mon, 28 May 2001 03:43:20 -0700 (PDT) (envelope-from roam@ringworld.nanolink.com) Received: (qmail 4978 invoked by uid 1000); 28 May 2001 10:42:22 -0000 Date: Mon, 28 May 2001 13:42:22 +0300 From: Peter Pentchev To: Sheldon Hearn Cc: netch@lucky.net, Ruslan Ermilov , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: -DNOCLEAN - was: Re: cvs commit: src/contrib/amd/include am_defs.h src/usr.sbin/amd/includeconfig.h src/etc/mtree BSD.include.dist src/include Makefilesrc/sbin/mount_msdos mount_msdos.c src/sbin/mountd mountd.csrc/share/man/man7 hier.7 src/sys/boot/forth loader.conf ... Message-ID: <20010528134222.B588@ringworld.oblivion.bg> Mail-Followup-To: Sheldon Hearn , netch@lucky.net, Ruslan Ermilov , cvs-committers@freebsd.org, cvs-all@freebsd.org References: <20010528130402.A15634@lucky.net> <51548.991045043@axl.fw.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <51548.991045043@axl.fw.uunet.co.za>; from sheldonh@uunet.co.za on Mon, May 28, 2001 at 12:17:23PM +0200 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, May 28, 2001 at 12:17:23PM +0200, Sheldon Hearn wrote: > > > On Mon, 28 May 2001 13:04:02 +0300, Valentin Nechayev wrote: > > > Is -DNOCLEAN guaranteed to work when /usr/obj/`/bin/pwd` was already > > cleaned manually (rm -rf)? > > No, because you may have .depend files in your src tree. Have a look: > > find /usr/src -name '.depend' Hmm.. I thought the src tree was not touched at all during the build process? The only files I could find with a find /usr/src -type f -name .depend were files that I myself had generated, by manually cd'ing into a directory and running make clean depend all there. The usual process of 'make world' or 'make buildworld' does not generate them there, it places them all within the /usr/obj tree. On second thoughts, make(1) appears to use a .depend file in the current directory, even if MAKEOBJDIRPREFIX is set to /usr/obj. So it might indeed be a good idea to do a 'find /usr/src -name .depend -delete', just in case. G'luck, Peter -- I am not the subject of this sentence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message