From owner-cvs-all Thu Sep 20 10:32:57 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 05C7337B401; Thu, 20 Sep 2001 10:32:29 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f8KHVxN66897; Thu, 20 Sep 2001 20:31:59 +0300 (EEST) (envelope-from ru) Date: Thu, 20 Sep 2001 20:31:59 +0300 From: Ruslan Ermilov To: Nate Williams Cc: Mark Murray , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/perl Makefile Makefile.inc src/gnu/usr.bin/perl/utils Makefile.inc Message-ID: <20010920203159.A66160@sunbay.com> References: <200109201224.f8KCOB466566@freefall.freebsd.org> <200109201222.f8KCMfT66048@freefall.freebsd.org> <20010920201254.D61491@sunbay.com> <15274.9510.659169.501864@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15274.9510.659169.501864@nomad.yogotech.com>; from nate@yogotech.com on Thu, Sep 20, 2001 at 11:19:34AM -0600 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 Thu, Sep 20, 2001 at 11:19:34AM -0600, Nate Williams wrote: > > > Modified files: > > > gnu/usr.bin/perl Makefile Makefile.inc > > > gnu/usr.bin/perl/utils Makefile.inc > > > Log: > > > Through some hackery-pokery, allow folks to cd to src/gnu/usr.bin/perl > > > and do the usual "make obj && make depend all". > > > > > > This sort of stuff makes my teeth itch, but folks wanted it badly > > > enough, so here it is. > > > > > > Revision Changes Path > > > 1.15 +19 -2 src/gnu/usr.bin/perl/Makefile > > > 1.24 +5 -2 src/gnu/usr.bin/perl/Makefile.inc > > > 1.7 +1 -2 src/gnu/usr.bin/perl/utils/Makefile.inc > > > > Err, ``make depend all'' is not guaranteed to work at all. > > It should work, but it won't use the dependencies created in the .depend > file. For any 'from-scratch' builds, this should be fine. > Yes, but that's the exact problem that was tried to be solved AFAICS. Otherwise, why Mark wrote ``make depend all'' and not ``make all''? Of course, ``make obj && make all'' should work. Only in rare cases ``make depend'' is required for fresh builds, when the depend target is abused (or {before|after}depend). > 'make depend' shouldn't be a requirement for building files. > Right, but we are talking of a different case here. When some sources are updated, the dependancies should be rebuilt first with ``make depend'', and only then ``make all'' should be executed. 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