[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Autobuild dependencies before install

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-09-18 17:52:29 CEST

On Fri, 2004-09-17 at 19:02, David James wrote:
> This patch fixes the Subversion dependency system so that make targets
> will automatically build their dependencies before installing them.

We deliberately don't do that. (Or at least, to the extent we don't do
that, it's deliberate. It's come to my attention that we're a little
bit inconsistent, because the bindings maintainers aren't necessarily on
the same wavelengths as the team as a whole.)

In my little world, and I'm not totally alone, either you're asking a
makefile to build something or you're asking a makefile to do something,
and it can be very frustrating when you ask for the latter and get the
former.

For instance, right now our "swig-py" target is broken such that it
rebuilds the Python bindings even if nothing has changed. Because
install-swig-py is one of the inconsistent targets in our Makefile (it
depends on swig-py), if I run:

  make swig-py CFLAGS=-g # or some other option to the build
  make install-swig-py

I will, frustratingly, get a rebuild of the Python bindings, ignoring
the flag I so carefully passed when building them. This isn't the end
of the world, but neither is having to tell the Makefile to build stuff
and install it in two steps like you're supposed to.

So, -1 on this patch.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 18 17:52:45 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.