From owner-cvs-all Mon May 28 3:50:23 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 BD0F937B424 for ; Mon, 28 May 2001 03:50:15 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 5073 invoked by uid 1000); 28 May 2001 10:49:18 -0000 Date: Mon, 28 May 2001 13:49:18 +0300 From: Peter Pentchev To: Valentin Nechayev Cc: Sheldon Hearn , 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: <20010528134918.C588@ringworld.oblivion.bg> Mail-Followup-To: Valentin Nechayev , Sheldon Hearn , Ruslan Ermilov , cvs-committers@freebsd.org, cvs-all@freebsd.org References: <51548.991045043@axl.fw.uunet.co.za> <20010528134417.C16588@lucky.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010528134417.C16588@lucky.net>; from netch@lucky.net on Mon, May 28, 2001 at 01:44:17PM +0300 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 01:44:17PM +0300, Valentin Nechayev wrote: > > Mon, May 28, 2001 at 12:17:23, sheldonh wrote about "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 mo > > > > 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' > > netch@grizzly:/usr/src>find . -name .depend > netch@grizzly:/usr/src>cd /usr/obj/`/bin/pwd` > netch@grizzly:/usr/obj/var/S2/src>find . -name .depend | grep -v '^\./i386/' | head > ./lib/csu/i386-elf/.depend > ./lib/libcom_err/.depend > ./lib/libcrypt/.depend > ./lib/msun/.depend > ./lib/libmd/.depend > ./lib/libncurses/.depend > ./lib/libradius/.depend > ./lib/libskey/.depend > ./lib/libtacplus/.depend > ./lib/libutil/.depend > > Can you imagine _real_ case when /usr/src contains any .depend > with proper source tree and correct make world calling? If you have *always* invoked make (build)?world correctly, no, you would have no stale .depend files in your /usr/src tree. If, however, there have been cases when some part of the system was not upgraded properly, or something went wrong, and you had to go in and build/install a particular tool before rebuilding the rest, then it's very easy to forget to 'make cleandir' afterwards, and have stale .depend files in your source tree. G'luck, Peter -- If this sentence didn't exist, somebody would have invented it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message