From: Alexandre Duret-Lutz Date: Sun, 22 Sep 2002 14:56:27 +0000 (+0000) Subject: * automake.texi (Yacc and Lex): ylwrap is used only when there is X-Git-Tag: Release-1-7~20 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=36149ae704f063ca418031706650e8071ce0adce;p=automake.git * automake.texi (Yacc and Lex): ylwrap is used only when there is more than one yacc or lex source file in a directory. --- diff --git a/ChangeLog b/ChangeLog index c15eb3e8..281d0305 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-09-22 Alexandre Duret-Lutz + * automake.texi (Yacc and Lex): ylwrap is used only when there is + more than one yacc or lex source file in a directory. + * automake.in (macro_define): Update a variable's location each time its owner is updated. * tests/gnuwarn.test: Append to CFLAGS to check for this. diff --git a/automake.texi b/automake.texi index 1e44dea8..90925299 100644 --- a/automake.texi +++ b/automake.texi @@ -2733,15 +2733,16 @@ intended for the @file{Makefile.am} author. Automake makes it possible to include multiple @code{yacc} (or -@code{lex}) source files in a single program. Automake uses a small -program called @code{ylwrap} to run @code{yacc} (or @code{lex}) in a -subdirectory. This is necessary because yacc's output filename is -fixed, and a parallel make could conceivably invoke more than one -instance of @code{yacc} simultaneously. The @code{ylwrap} program is -distributed with Automake. It should appear in the directory specified -by @samp{AC_CONFIG_AUX_DIR} (@pxref{Input, , Finding `configure' Input, -autoconf, The Autoconf Manual}), or the current directory if that macro -is not used in @file{configure.in}. +@code{lex}) source files in a single program. When there is more than +one distinct @code{yacc} (or @code{lex}) source file in a directory, +Automake uses a small program called @code{ylwrap} to run @code{yacc} +(or @code{lex}) in a subdirectory. This is necessary because yacc's +output filename is fixed, and a parallel make could conceivably invoke +more than one instance of @code{yacc} simultaneously. The @code{ylwrap} +program is distributed with Automake. It should appear in the directory +specified by @samp{AC_CONFIG_AUX_DIR} (@pxref{Input, , Finding +`configure' Input, autoconf, The Autoconf Manual}), or the current +directory if that macro is not used in @file{configure.in}. For @code{yacc}, simply managing locking is insufficient. The output of @code{yacc} always uses the same symbol names internally, so it isn't diff --git a/stamp-vti b/stamp-vti index 0be0f797..e4420df3 100644 --- a/stamp-vti +++ b/stamp-vti @@ -1,4 +1,4 @@ -@set UPDATED 19 September 2002 +@set UPDATED 22 September 2002 @set UPDATED-MONTH September 2002 @set EDITION 1.6g @set VERSION 1.6g diff --git a/version.texi b/version.texi index 0be0f797..e4420df3 100644 --- a/version.texi +++ b/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 19 September 2002 +@set UPDATED 22 September 2002 @set UPDATED-MONTH September 2002 @set EDITION 1.6g @set VERSION 1.6g