From 530db90666bb13e80c5570e2b47b527088a9feeb Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Mon, 30 Jul 2012 14:52:10 +0200 Subject: [PATCH] [ng] cleanup: drop redundant use of a transform * 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 --- 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 ceee1c89b..a11d90a37 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 e307d5d14..285e9026b 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. -- 2.47.2