[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: absolute build directory with spaces
From: |
Ralf Wildenhues |
Subject: |
Re: absolute build directory with spaces |
Date: |
Sun, 5 Sep 2010 22:52:58 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
Hello,
* Jim Meyering wrote on Sat, Sep 04, 2010 at 07:28:58PM CEST:
> Stefano Lattarini wrote:
> > What about instead making the names of the temporaries source/build/install
> > directories used by "make distcheck" configurable? This will offer more
> > flexibility, and won't introduce still another automake option which would
> > make backward-compatibility more problematic.
> >
> > I was thinking of something on these lines:
> >
> > $ cat Makefile.am
> > ...
> > AM_DISTCHECK_BUILDDIR_NAME = _ b u i l d ## will be relative to $(distdir)
> > AM_DISTCHECK_SRCDIR_NAME = . ## likewise
> > AM_DISTCHECK_INSTALLDIR_NAME = address@hidden ## likewise
> >
> > If you like the proposal, I might try to implement this (but right away).
>
> I do like it. Thanks!
Me too, but the onus for quoting should probably be with the person
defining the variables, because there is no well-defined way to do
otherwise. (And of course you cannot have comments in variables.)
I like it also because some packages will never want to care about
being buildable under more stressful circumstances.
However, I think you probably need either srcdir and reverse_srcdir,
or only the latter and compute the former from that.
Thanks,
Ralf