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

Re: 1.3.0-rc3 tarballs up for testing/signing

From: Max Bowsher <maxb1_at_ukf.net>
Date: 2005-11-22 21:09:31 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Gillespie wrote:
> Max Bowsher <maxb1@ukf.net> writes:
>
>
>>This could have been very usefully used in the Subversion build system.
>>Instead, we have to put up with copying files from srcdir to objdir, in
>>a VPATH setup.
>
>
> As someone who has built fairly complex build systems that
> support srcdir != blddir using standard make, i'm skeptical.
> I've never had to do that.
>
> Though there is usually a better way to construct your rules, at
> the bare minimum this transform always works:
>
> foo: ${srcdir}/bar ${srcdir}/baz ${srcdir}/quux
> foocmd $@ $<
>
> to
>
> FOOSRC=${srcdir}/bar ${srcdir}/baz ${srcdir}/quux
> foo: ${FOOSRC}
> foocmd $@ ${FOOSRC}
>
> Maybe you could point me to the relevant parts of our Makefile?

The interesting wrinkle here is that, SWIG files which can be shipped in
a tarball, or generated during the build, can be in the srcdir OR the
blddir, not always one or the other.

If we could use $<, we wouldn't have to care about generating different
build-outputs.mk files in different situations, and we could just let
make choose the appropriate path automatically.

Max.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFDg3r7fFNSmcDyxYARAjgCAJ9/3+5ICDLr+/1AZsAoPwDqjXOZNwCfX5an
Rnz6uVZdX8+B6pCrHH5HCK8=
=ioHt
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 22 21:10:39 2005

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.