xfs
[Top] [All Lists]

Re: make install in the brave new build system world

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: make install in the brave new build system world
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 5 Feb 2010 06:28:50 -0500
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20100205104414.GC11483@xxxxxxxxxxxxxxxx>
References: <20100205092229.GA32454@xxxxxxxxxxxxx> <20100205104414.GC11483@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.19 (2009-01-05)
On Fri, Feb 05, 2010 at 09:44:14PM +1100, Dave Chinner wrote:
> The dependencies are always regenerated due to the default target
> requiring the depend target. Rebuilding the dependencies is the only
> way to catch changes between builds and so ensure the correct files
> are rebuilt.
> 
> The install target is building the dependencies because it has a
> dependency on the default target.

Well, it's building the dependecies twice - once by invoking the
default target, but they are also rebuilt again when the actuall
install rules are called.   The latter is pretty clearly superflous.

<Prev in Thread] Current Thread [Next in Thread>