Updated documentation to fix Savannah bugs #32058 and #31582

This commit is contained in:
Paul Smith 2011-05-02 15:11:23 +00:00
parent 6979e7e43b
commit bd6f63e563
2 changed files with 23 additions and 7 deletions

View File

@ -1,5 +1,10 @@
2011-05-02 Paul Smith <psmith@gnu.org> 2011-05-02 Paul Smith <psmith@gnu.org>
* doc/make.texi (Special Variables): Add documentation for the new
words in .FEATURES. Fixes Savannah bug #32058.
(Flavor Function): Rewrite the section on the flavor function.
Fixes Savannah bug #31582.
* function.c (func_sort): Use the same algorithm to count the * function.c (func_sort): Use the same algorithm to count the
number of words we will get after the split, as we use to split. number of words we will get after the split, as we use to split.
Based on a patch from Matthias Hopf. Fixes Savannah bug #33125. Based on a patch from Matthias Hopf. Fixes Savannah bug #33125.

View File

@ -6183,17 +6183,29 @@ Syntax, ,Syntax of Conditionals}.
Supports ``job server'' enhanced parallel builds. @xref{Parallel, Supports ``job server'' enhanced parallel builds. @xref{Parallel,
,Parallel Execution}. ,Parallel Execution}.
@item second-expansion @item oneshell
Supports secondary expansion of prerequisite lists. Supports the @code{.ONESHELL} special target. @xref{One Shell, ,Using
One Shell}.
@item order-only @item order-only
Supports order-only prerequisites. @xref{Prerequisite Types, ,Types Supports order-only prerequisites. @xref{Prerequisite Types, ,Types
of Prerequisites}. of Prerequisites}.
@item second-expansion
Supports secondary expansion of prerequisite lists.
@item shortest-stem
Uses the ``shortest stem'' method of choosing which pattern, of
multiple applicable options, will be used. @xref{Pattern Match, ,How
Patterns Match}.
@item target-specific @item target-specific
Supports target-specific and pattern-specific variable assignments. Supports target-specific and pattern-specific variable assignments.
@xref{Target-specific, ,Target-specific Variable Values}. @xref{Target-specific, ,Target-specific Variable Values}.
@item undefine
Supports the @code{undefine} directive. @xref{Undefine Directive}.
@end table @end table
@vindex .INCLUDE_DIRS @r{(list of include directories)} @vindex .INCLUDE_DIRS @r{(list of include directories)}
@ -7595,11 +7607,10 @@ Here the redefinition takes place if @samp{$(origin bletch)} returns either
@cindex variables, flavor of @cindex variables, flavor of
@cindex flavor of variable @cindex flavor of variable
The @code{flavor} function is unlike most other functions (and like The @code{flavor} function, like the @code{origin} function, does not
@code{origin} function) in that it does not operate on the values of operate on the values of variables but rather it tells you something
variables; it tells you something @emph{about} a variable. @emph{about} a variable. Specifically, it tells you the flavor of a
Specifically, it tells you the flavor of a variable (@pxref{Flavors, variable (@pxref{Flavors, ,The Two Flavors of Variables}).
,The Two Flavors of Variables}).
The syntax of the @code{flavor} function is: The syntax of the @code{flavor} function is: