* 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>
# 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');
}
# 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.