[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 19:10:14 CEST

On Sat, 2004-09-18 at 12:45, David James wrote:
> > 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.
[...]
> What this means: If you type 'make install', make will only recompile
> your targets if the sources have changed. If not, it won't. In any
> case, it will install subversion.
>
> Greg, does this address your concerns?

No. To my mind, there were two things wrong in my example: both the
target was broken, and the Makefile did something I didn't ask it to
do. Even if the sources have changed, if I ask the Makefile to install
something, it should do exactly that, no more.

> In some cases, it's much more than two steps. For example, the process
> of testing JavaHL is currently:
>
> 1. ./configure [with some options]
> 2. make
> 3. make javahl
> 4. make install-javahl
> 5. make check-javahl

> With my patch (and Holger Thon's patch at
> <http://www.contactor.se/~dast/svn/archive-2004-09/0408.shtml>), it's
> 2 steps:
> 1. ./configure [with some options]
> 2. make check-javahl

Step 2 of your first procedure is unnecessary, I think, and step 4 can
only be eliminated due to an unrelated fix. So you've really only
eliminated one step.

> Try installing the following make targets with and without my patch.
> It's simple as pie to install these targets with my patch, but I can't
> figure out how to install them without my patch. Without my patch,
> these make targets emit mysterious errors.
> - make install-lib (just the libraries, no binaries needed)
> - make install-bin (just the binaries!)
> - make install-bdb-lib (just the BDB library and its dependencies)

Here you seem to be arguing that we should make it more convenient and
intuitive to do things people rarely do, which is perplexing.

("make lib" followed by "make install-lib" seems to work fine.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 18 19:10:50 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.