]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] cleanup: drop redundant use of a transform
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 30 Jul 2012 12:52:10 +0000 (14:52 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 30 Jul 2012 15:06:01 +0000 (17:06 +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 <stefano.lattarini@gmail.com>
automake.in
lib/am/all-target.am

index ceee1c89b75fbbfab5c4f69ed83184b255742eb6..a11d90a374ecef75ee4762e80ebfc898fadc8d81 100644 (file)
@@ -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');
 }
 
index e307d5d141dde71c4ad1c2096b737ba5711d510d..285e9026bf4cdc00caa3a228b46817c3540516ac 100644 (file)
@@ -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.