summaryrefslogtreecommitdiff
path: root/doc/make.texi
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-03-04 12:52:32 +0000
committerPaul Smith <psmith@gnu.org>2005-03-04 12:52:32 +0000
commit28078b517a3151f18cf427be87600803251d732b (patch)
treed963a5674f982ccc6070f1596b8286239f84f5b8 /doc/make.texi
parentcb2f20026908d5c6e48e2cd3e3e65b5f67498d02 (diff)
downloadgunmake-28078b517a3151f18cf427be87600803251d732b.tar.gz
- Missing docs for $|
- Update NEWS and AUTHORS files. - Fix support request #103195. - Apply patch #3679 - Fix handling of sys_siglist in autoconf/etc.
Diffstat (limited to 'doc/make.texi')
-rw-r--r--doc/make.texi19
1 files changed, 14 insertions, 5 deletions
diff --git a/doc/make.texi b/doc/make.texi
index c6f4c1a..0ecd35a 100644
--- a/doc/make.texi
+++ b/doc/make.texi
@@ -5942,10 +5942,11 @@ returns @samp{bar}.
@cindex selecting word lists
Returns the list of words in @var{text} starting with word @var{s} and
ending with word @var{e} (inclusive). The legitimate values of @var{s}
-and @var{e} start from 1. If @var{s} is bigger than the number of words
-in @var{text}, the value is empty. If @var{e} is bigger than the number
-of words in @var{text}, words up to the end of @var{text} are returned.
-If @var{s} is greater than @var{e}, nothing is returned. For example,
+start from 1; @var{e} may start from 0. If @var{s} is bigger than the
+number of words in @var{text}, the value is empty. If @var{e} is
+bigger than the number of words in @var{text}, words up to the end of
+@var{text} are returned. If @var{s} is greater than @var{e}, nothing
+is returned. For example,
@example
$(wordlist 2, 3, foo bar baz)
@@ -8496,7 +8497,9 @@ prerequisites which are archive members, only the member named is used
(@pxref{Archives}). A target has only one prerequisite on each other file
it depends on, no matter how many times each file is listed as a
prerequisite. So if you list a prerequisite more than once for a target,
-the value of @code{$^} contains just one copy of the name.
+the value of @code{$^} contains just one copy of the name. This list
+does @strong{not} contain any of the order-only prerequisites; for those
+see the @samp{$|} variable, below.
@cindex prerequisites, list of all
@cindex list of all prerequisites
@@ -8508,6 +8511,12 @@ duplicated in the order they were listed in the makefile. This is
primarily useful for use in linking commands where it is meaningful to
repeat library file names in a particular order.
+@vindex $|
+@vindex | @r{(automatic variable)}
+@item $|
+The names of all the order-only prerequisites, with spaces between
+them.
+
@vindex $*
@vindex * @r{(automatic variable)}
@item $*