automake-ng
[Top][All Lists]
Advanced

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

Re: [Automake-NG] [PATCH] [ng] general: simpler workaround for CDPATH is


From: Akim Demaille
Subject: Re: [Automake-NG] [PATCH] [ng] general: simpler workaround for CDPATH issues
Date: Wed, 20 Jun 2012 12:36:56 +0200

Le 20 juin 2012 à 11:31, Stefano Lattarini a écrit :

> On 06/18/2012 04:26 PM, Stefano Lattarini wrote:
>> With this change, we also get rid of the $(am__cd) make variable.
>> 
>> * lib/am/header-vars.am (am__cd): Remove.
>> To ensure a CDPATH exported in the environment doesn't interfere with
>> our scripts and recipes, we can simply un-export it here (using the GNU
>> make "unexport" directive), rather than having to rely on $(am__cd) ...
>> * Makefile.am, automake.in, lib/am/configure.am, lib/am/distdir.am,
>> lib/am/header-vars.am, lib/am/inst-vars.am, lib/am/remake-hdr.am,
>> lib/am/tags.am, lib/am/texibuild.am, t/ax/distcheck-hook-m4.am: ... in
>> several places of these files.
>> * GNUmakefile, HACKING: Adjust.
>> * syntax-checks.mk (sc_cd_in_backquotes, sc_cd_relative_dir): Remove,
>> superseded by ...
>> (sc_no_am_cd): ... this new target, which has contrary semantics, and
>> looks *against* the use of the now-obsolete $(am__cd).
>> (syntax_check_rules): Adjust.
>> 
> Pushed.

Simple and elegant :)




reply via email to

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