On Monday 04 October 2010, Jim Meyering wrote:
> Stefano Lattarini wrote:
> ...
> 
> >> > BZIP2 environment variable
> >> > 
> >> >> +For example, @samp{make dist-bzip2 XZ_OPT=-7}.
> >> > 
> >> > Ditto.
> >> 
> >> Thank you.  Fixed.
> > 
> > Hmm... thinking better, since we are dealing with environment
> > 
> > variables here, shouldn't the correct idiom be:
> >   $ BZIP2="-7" make dist-bzip2
> > 
> > instead?  Or am I missing something?
> 
> Either way is fine with me.
Sorry for the noise, I thought that:
  $ make FOO=1
wouldn't export `FOO' in the environment of the commands spawned by
make recipes (*blush*).  But this is not the case, so I definitely
prefer your idiom now (make dist-bzip2 XZ_OPT=-7).

Thanks,
  Stefano

Reply via email to