summaryrefslogtreecommitdiff
path: root/doc/make.texi
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-02-01 07:54:22 +0000
committerPaul Smith <psmith@gnu.org>2006-02-01 07:54:22 +0000
commit4cd35390242bc3e7720dd9831e4bd03e55c636e2 (patch)
tree08930384ac32dd0cf2f910272ad38f76aaef2811 /doc/make.texi
parent64e16d6c00a59fcff9681e032ac8dbec46d3e960 (diff)
downloadgunmake-4cd35390242bc3e7720dd9831e4bd03e55c636e2.tar.gz
Various updates, mainly to the Windows port, from Eli Zaretskii and
Markus Maurhart.
Diffstat (limited to 'doc/make.texi')
-rw-r--r--doc/make.texi18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/make.texi b/doc/make.texi
index b0de845..eba92c7 100644
--- a/doc/make.texi
+++ b/doc/make.texi
@@ -10,8 +10,8 @@
@set RCSID $Id$
@set EDITION 0.70
@set VERSION 3.81
-@set UPDATED 28 Dec 2005
-@set UPDATE-MONTH Dec 2005
+@set UPDATED 29 Jan 2006
+@set UPDATE-MONTH Jan 2006
@c ISBN provided by Lisa M. Opus Goldstein <opus@gnu.org>, 5 May 2004
@set ISBN 1-882114-83-5
@@ -2589,7 +2589,7 @@ each pattern in the list with @var{name} and perform the above directory
searches using that library filename. If no library is found, the next
word in the list will be used.
-The default value for @code{.LIBPATTERNS} is ``@samp{lib%.so lib%.a}'',
+The default value for @code{.LIBPATTERNS} is @samp{lib%.so lib%.a},
which provides the default behavior described above.
You can turn off link library expansion completely by setting this
@@ -4825,7 +4825,6 @@ Sub-@code{make}}, for information about @code{MAKELEVEL}.)
@example
@group
ifeq (0,$@{MAKELEVEL@})
-cur-dir := $(shell pwd)
whoami := $(shell whoami)
host-type := $(shell arch)
MAKE := $@{MAKE@} host-type=$@{host-type@} whoami=$@{whoami@}
@@ -4840,7 +4839,7 @@ An advantage of this use of @samp{:=} is that a typical
@example
@group
$@{subdirs@}:
- $@{MAKE@} cur-dir=$@{cur-dir@}/$@@ -C $@@ all
+ $@{MAKE@} -C $@@ all
@end group
@end example
@@ -8818,10 +8817,11 @@ with @samp{s.}, ends in @samp{.c} and is at least five characters long.
that the @samp{%} matches is called the @dfn{stem}.@refill
@samp{%} in a prerequisite of a pattern rule stands for the same stem
-that was matched by the @samp{%} in the target. In order for
-the pattern rule to apply, its target pattern must match the file name
-under consideration, and its prerequisite patterns must name files that
-exist or can be made. These files become prerequisites of the target.
+that was matched by the @samp{%} in the target. In order for the
+pattern rule to apply, its target pattern must match the file name
+under consideration and all of its prerequisites (after pattern
+substitution) must name files that exist or can be made. These files
+become prerequisites of the target.
@cindex prerequisite pattern, implicit
Thus, a rule of the form