[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VPATH rebuilding of gawk
From: |
Andrew J. Schorr |
Subject: |
Re: VPATH rebuilding of gawk |
Date: |
Sun, 21 Jan 2007 09:43:04 -0500 |
User-agent: |
Mutt/1.4.2.1i |
On Sat, Jan 20, 2007 at 07:42:30PM -0500, Andrew J. Schorr wrote:
> On Sat, Jan 13, 2007 at 09:18:50PM +0200, Aharon Robbins wrote:
> > > awklib/ChangeLog:
> > > 2006-12-03 Ralf Wildenhues <address@hidden>
> > >
> > > * Makefile.am (stamp-eg): Allow rebuilding from a VPATH build.
> > OK, I've applied these. They'll be showing up soon in the CVS.
>
> Hmmm, sorry to pipe in so late, but I'm confused about this. In the
> awklib/Makefile.am patch, the stamp-eg file is now being created in $(srcdir).
> But I thought the idea when using VPATH was that the source tree should not be
> touched (i.e. it should be read-only). So why are we creating the "eg"
> directory inside $(srcdir) instead of inside the build directory? And what
> happens if two different builds on two different architectures (with different
> build directories but the same srcdir) are occurring at the same time?
> Couldn't this confuse make and leave a garbled result?
I'm attaching a patch against 3.1.5 that should work correctly, I think.
If the stamp-eg file is not present, then the 'eg' tree will be built
inside the build directory tree.
Furthermore, it is not necessary to include the eg tree in the distro,
since it is generated by the build process, so both eg and stamp-eg
can be removed from EXTRA_DIST.
Also, some xgawk users found that the extract script may fail in some
locales, so this patch specifies the 'C' locale.
In addition to the patch against 3.1.5, I am attaching a copy of the
resulting Makefile.am file.
Regards,
Andy
awklib-make.patch
Description: Text document
Makefile.am
Description: Text document
- Re: VPATH rebuilding of gawk, Aharon Robbins, 2007/01/13
- Re: VPATH rebuilding of gawk, Andrew J. Schorr, 2007/01/20
- Re: VPATH rebuilding of gawk,
Andrew J. Schorr <=
- Re: VPATH rebuilding of gawk, Ralf Wildenhues, 2007/01/22
- Re: VPATH rebuilding of gawk, Andrew J. Schorr, 2007/01/22
- Re: VPATH rebuilding of gawk, Ralf Wildenhues, 2007/01/22
- Re: VPATH rebuilding of gawk, Andrew J. Schorr, 2007/01/22
- Re: VPATH rebuilding of gawk, Ralf Wildenhues, 2007/01/24