automake-ng
[Top][All Lists]
Advanced

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

[Automake-NG] [PATCH 5/5] [ng] cleanup: drop redundant use of a transfor


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 5/5] [ng] cleanup: drop redundant use of a transform
Date: Mon, 30 Jul 2012 15:28:15 +0200

* lib/am/all-target.am: Use '$(am.config-hdr.local)' directly,
instead of the '%LOCAL-HEADERS%' transform.
* automake.in (handle_all_and_check): Drop that transform.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 automake.in          | 4 +---
 lib/am/all-target.am | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/automake.in b/automake.in
index bf2f845..743a172 100644
--- a/automake.in
+++ b/automake.in
@@ -3887,9 +3887,7 @@ sub handle_footer
 # Generate "make all" and "make check" rules.
 sub handle_all_and_check ()
 {
-  almost_verbatim ('all-target',
-                   'ALL-DEPS' => "@all",
-                   'LOCAL-HEADERS' => '$(am.config-hdr.local)');
+  almost_verbatim ('all-target', 'ALL-DEPS' => "@all");
   almost_verbatim ('check-target');
 }
 
diff --git a/lib/am/all-target.am b/lib/am/all-target.am
index e307d5d..285e902 100644
--- a/lib/am/all-target.am
+++ b/lib/am/all-target.am
@@ -26,7 +26,7 @@ endif
 # Ditto for config.h (or files specified in AC_CONFIG_HEADERS).
 # But of course, we shouldn't attempt to build any of them when
 # running in dry mode.
-am.built-early = %LOCAL-HEADERS% $(BUILT_SOURCES)
+am.built-early = $(am.config-hdr.local) $(BUILT_SOURCES)
 ifeq ($(am.make.dry-run),true)
 # A trick to make the "make -n" output more useful, albeit not
 # completely accurate.
-- 
1.7.12.rc0




reply via email to

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