From owner-cvs-all Mon May 28 4:51: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 212ED37B422; Mon, 28 May 2001 04:50:56 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f4SBo3A61010; Mon, 28 May 2001 14:50:03 +0300 (EEST) (envelope-from ru) Date: Mon, 28 May 2001 14:50:03 +0300 From: Ruslan Ermilov To: Doug Barton Cc: Peter Pentchev , Sheldon Hearn , netch@lucky.net, 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: <20010528145003.A59161@sunbay.com> Mail-Followup-To: Doug Barton , Peter Pentchev , Sheldon Hearn , netch@lucky.net, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <20010528130402.A15634@lucky.net> <51548.991045043@axl.fw.uunet.co.za> <20010528134222.B588@ringworld.oblivion.bg> <3B123782.B7CC5672@DougBarton.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B123782.B7CC5672@DougBarton.net>; from DougB@DougBarton.net on Mon, May 28, 2001 at 04:33:22AM -0700 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 04:33:22AM -0700, Doug Barton wrote: > Peter Pentchev wrote: > > > > 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? > > It shouldn't be, unless something is broken. > > > 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. > > You can solve that problem by doing 'make cleandir obj depend all' > instead. > Beware! `make foo bar' is not equivalent to `make foo && make bar' like in this case. The most important thing is that ${.OBJDIR} is initialized at startup, so if canonical objdir doesn't exist when `make obj all' is called, wrong ${.OBJDIR} will be used for building. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message