From: Stefano Lattarini Date: Mon, 30 Jul 2012 12:52:10 +0000 (+0200) Subject: [ng] cleanup: drop redundant use of a transform X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=530db90666bb13e80c5570e2b47b527088a9feeb;p=thirdparty%2Fautomake.git [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 --- 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.