bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make dist improvements


From: Ralf Wildenhues
Subject: Re: make dist improvements
Date: Wed, 8 Oct 2008 07:26:57 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Behdad Esfahbod wrote on Tue, Oct 07, 2008 at 11:10:20PM CEST:
> Ralf Wildenhues wrote:
> > * Behdad Esfahbod wrote on Tue, Oct 07, 2008 at 10:56:02PM CEST:
> >> Right.  So why is:
> >>
> >> AMTAR = TAR_OPTIONS="$(TAR_OPTIONS)" ${SHELL}
> >> /home/behdad/src/git/fd.o/cairo/build/missing --run tar
> >>
> >> not backward-compatible then?
> > 
> > Because it breaks an external script that calls
> >   TAR_OPTIONS=foobar make dist
> 
> That's what I understood.  But if make imports env vars as make vars, doesn't
> the $(TAR_OPTIONS) in the proposed AMTAR definition pick up the user's set
> TAR_OPTIONS env var and things continue to work?

Only if you pass '-e' to make, does it import environment variables as
make macros.  It is not always desirable to do so.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]