automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] {maint} refactor: new variable telling whether make is runni


From: Stefano Lattarini
Subject: Re: [PATCH] {maint} refactor: new variable telling whether make is running in "dry mode"
Date: Sun, 05 Feb 2012 22:05:06 +0100

On 02/05/2012 06:35 PM, Stefano Lattarini wrote:
> On 01/23/2012 09:10 PM, Stefano Lattarini wrote:
>> We define a new variable '$(am__make_dryrun)', that can be used
>> in recipes to determine whether make is running in "dry mode" (as
>> with "make -n") or not.  This is useful in rules that invoke make
>> recursively, and are thus executed also with "make -n" -- either
>> because they are declared as dependencies to '.MAKE' (NetBSD make)
>> or because their recipes contain the "$(MAKE)" string (GNU and
>> Solaris make).
>>
>> * lib/am/header-vars.am (am__make_dryrun): New variable.
>> * lib/am/check.am (check-TESTS recheck): Use it, and simplify
>> recipe accordingly.
>> * lib/am/distdir.am (distdir): Likewise.
>> * lib/am/lisp.am ($(am__ELCFILES)): Likewise.
>> ---
>> Do you think this patch is good to apply before 1.11.3, or should
>> we wait after that release?
>>
> I've waited after all.  Patch pushed now (to maint).
> 
And I've pushed the attached follow-up to take more advantage
of $(am__make_dryrun) in master as well.

Regards,
  Stefano

Attachment: 0001-tests-improve-and-rework-tests-on-dependency-trackin.patch
Description: Text Data


reply via email to

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