* automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
authorAlexandre Duret-Lutz <adl@gnu.org>
Sun, 7 Aug 2005 09:48:30 +0000 (09:48 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sun, 7 Aug 2005 09:48:30 +0000 (09:48 +0000)
$(MAKE) invocations.
* lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
Likewise.
* lib/am/texi-vers.am (%STAMPVTI%): Likewise.
* lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
* Makefile.am (maintainer-check): Check for this.
Report from Stepan Kasal.

automake.in

index d8616a65bb3292c9eee0f8ef88bdf89ed0f070e7..35b697de195dbe051cf3d672c03348df8d22d41f 100755 (executable)
@@ -5430,7 +5430,7 @@ sub lang_yacc_target_hook
              # Recover from removal of $header
              . "$condstr\t\@if test ! -f \$@; then \\\n"
              . "$condstr\t  rm -f $output; \\\n"
-             . "$condstr\t  \$(MAKE) $(AM_MAKEFLAGS) $output; \\\n"
+             . "$condstr\t  \$(MAKE) \$(AM_MAKEFLAGS) $output; \\\n"
              . "$condstr\telse :; fi\n";
          }
        # Distribute the generated file, unless its .y source was