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>
* 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
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.

View File

@ -6183,17 +6183,29 @@ Syntax, ,Syntax of Conditionals}.
Supports ``job server'' enhanced parallel builds. @xref{Parallel,
,Parallel Execution}.
@item second-expansion
Supports secondary expansion of prerequisite lists.
@item oneshell
Supports the @code{.ONESHELL} special target. @xref{One Shell, ,Using
One Shell}.
@item order-only
Supports order-only prerequisites. @xref{Prerequisite Types, ,Types
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
Supports target-specific and pattern-specific variable assignments.
@xref{Target-specific, ,Target-specific Variable Values}.
@item undefine
Supports the @code{undefine} directive. @xref{Undefine Directive}.
@end table
@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 flavor of variable
The @code{flavor} function is unlike most other functions (and like
@code{origin} function) in that it does not operate on the values of
variables; it tells you something @emph{about} a variable.
Specifically, it tells you the flavor of a variable (@pxref{Flavors,
,The Two Flavors of Variables}).
The @code{flavor} function, like the @code{origin} function, does not
operate on the values of variables but rather it tells you something
@emph{about} a variable. Specifically, it tells you the flavor of a
variable (@pxref{Flavors, ,The Two Flavors of Variables}).
The syntax of the @code{flavor} function is: