public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Dave Chinner <david@fromorbit.com>
Cc: Christoph Hellwig <hch@infradead.org>, xfs@oss.sgi.com
Subject: Re: make install in the brave new build system world
Date: Mon, 8 Feb 2010 05:29:42 -0500	[thread overview]
Message-ID: <20100208102942.GA25395@infradead.org> (raw)
In-Reply-To: <20100205114856.GE11483@discord.disaster>

On Fri, Feb 05, 2010 at 10:48:56PM +1100, Dave Chinner wrote:
> Ah, there's a double depenency chain.
> 
> The top level make file has:
> 
> install: default
> 
> Which causes "make install" to run the top level default target,
> which runs the default target in all the target subdirs.
> 
> Then, in each subdir, the makefile has:
> 
> install: default
> 
> Which when then install target is actually run, does another
> dependency check because it's got a local dependency on the depend
> target via the default target.
> 
> Replace the previous patch with the one below and try again.
> Now the "make install" will rebuild targets out of the local
> dependencies rather than a separate run of the top level default
> target (i.e. only traverse directories once).

Thanks, this looks much better.  We still don't implement the
quite behaviour for most install targets, but that should be relatively
simple to fix.  Maybe we can even replace all those handcode install
rules with generic one - I'll look into that once I get a bit time.

So

Reviewed-by: Christoph Hellwig <hch@lst.de>

for this patch for now.


_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2010-02-08 10:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-05  9:22 make install in the brave new build system world Christoph Hellwig
2010-02-05 10:44 ` Dave Chinner
2010-02-05 11:17   ` Dave Chinner
2010-02-05 11:27     ` Christoph Hellwig
2010-02-05 11:28   ` Christoph Hellwig
2010-02-05 11:48     ` Dave Chinner
2010-02-08 10:29       ` Christoph Hellwig [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100208102942.GA25395@infradead.org \
    --to=hch@infradead.org \
    --cc=david@fromorbit.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox