[Top][All Lists]
[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 18:35:26 +0100 |
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).
Regards,
Stefano
- Re: [PATCH] {maint} refactor: new variable telling whether make is running in "dry mode",
Stefano Lattarini <=