mirror of
https://github.com/mirror/make.git
synced 2025-01-27 21:00:22 +08:00
* Update the manual.
This commit is contained in:
parent
6dbd348522
commit
3a945a665e
@ -1,3 +1,7 @@
|
|||||||
|
1999-07-26 Paul D. Smith <psmith@gnu.org>
|
||||||
|
|
||||||
|
* make.texinfo (Quick Reference): Update with the new features.
|
||||||
|
|
||||||
1999-07-24 Paul D. Smith <psmith@gnu.org>
|
1999-07-24 Paul D. Smith <psmith@gnu.org>
|
||||||
|
|
||||||
* Version 3.77.91 released.
|
* Version 3.77.91 released.
|
||||||
|
40
make.texinfo
40
make.texinfo
@ -38,7 +38,7 @@ This is Edition @value{EDITION}, last updated @value{UPDATED},
|
|||||||
of @cite{The GNU Make Manual}, for @code{make}, Version @value{VERSION}.
|
of @cite{The GNU Make Manual}, for @code{make}, Version @value{VERSION}.
|
||||||
|
|
||||||
Copyright (C) 1988, '89, '90, '91, '92, '93, '94, '95, '96, '97, '98, '99
|
Copyright (C) 1988, '89, '90, '91, '92, '93, '94, '95, '96, '97, '98, '99
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
Permission is granted to make and distribute verbatim copies of
|
Permission is granted to make and distribute verbatim copies of
|
||||||
this manual provided the copyright notice and this permission notice
|
this manual provided the copyright notice and this permission notice
|
||||||
@ -3784,7 +3784,7 @@ a canned sequence apply to every line in the sequence. So the rule:
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
frob.out: frob.in
|
frob.out: frob.in
|
||||||
@@$(frobnicate)
|
@@$(frobnicate)
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@noindent
|
@noindent
|
||||||
@ -3820,8 +3820,8 @@ from getting implicit commands (from implicit rules or the
|
|||||||
@ignore
|
@ignore
|
||||||
foo: stamp-foo ;
|
foo: stamp-foo ;
|
||||||
stamp-foo: foo.in
|
stamp-foo: foo.in
|
||||||
create foo frm foo.in
|
create foo frm foo.in
|
||||||
touch $@
|
touch $@
|
||||||
@end ignore
|
@end ignore
|
||||||
|
|
||||||
You may be inclined to define empty command strings for targets that are
|
You may be inclined to define empty command strings for targets that are
|
||||||
@ -8955,6 +8955,8 @@ Conditionally evaluate part of the makefile.@*
|
|||||||
@xref{Conditionals}.
|
@xref{Conditionals}.
|
||||||
|
|
||||||
@item include @var{file}
|
@item include @var{file}
|
||||||
|
@itemx -include @var{file}
|
||||||
|
@itemx sinclude @var{file}
|
||||||
|
|
||||||
Include another makefile.@*
|
Include another makefile.@*
|
||||||
@xref{Include, ,Including Other Makefiles}.
|
@xref{Include, ,Including Other Makefiles}.
|
||||||
@ -8962,6 +8964,7 @@ Include another makefile.@*
|
|||||||
@item override @var{variable} = @var{value}
|
@item override @var{variable} = @var{value}
|
||||||
@itemx override @var{variable} := @var{value}
|
@itemx override @var{variable} := @var{value}
|
||||||
@itemx override @var{variable} += @var{value}
|
@itemx override @var{variable} += @var{value}
|
||||||
|
@itemx override @var{variable} ?= @var{value}
|
||||||
@itemx override define @var{variable}
|
@itemx override define @var{variable}
|
||||||
@itemx endef
|
@itemx endef
|
||||||
|
|
||||||
@ -8978,6 +8981,7 @@ Tell @code{make} to export all variables to child processes by default.@*
|
|||||||
@itemx export @var{variable} = @var{value}
|
@itemx export @var{variable} = @var{value}
|
||||||
@itemx export @var{variable} := @var{value}
|
@itemx export @var{variable} := @var{value}
|
||||||
@itemx export @var{variable} += @var{value}
|
@itemx export @var{variable} += @var{value}
|
||||||
|
@itemx export @var{variable} ?= @var{value}
|
||||||
@itemx unexport @var{variable}
|
@itemx unexport @var{variable}
|
||||||
Tell @code{make} whether or not to export a particular variable to child
|
Tell @code{make} whether or not to export a particular variable to child
|
||||||
processes.@*
|
processes.@*
|
||||||
@ -9062,6 +9066,10 @@ Extract the @var{n}th word (one-origin) of @var{text}.@*
|
|||||||
Count the number of words in @var{text}.@*
|
Count the number of words in @var{text}.@*
|
||||||
@xref{File Name Functions, ,Functions for File Names}.
|
@xref{File Name Functions, ,Functions for File Names}.
|
||||||
|
|
||||||
|
@item $(wordlist @var{s},@var{e},@var{text})
|
||||||
|
Returns the list of words in @var{text} from @var{s} to @var{e}.@*
|
||||||
|
@xref{File Name Functions, ,Functions for File Names}.
|
||||||
|
|
||||||
@item $(firstword @var{names}@dots{})
|
@item $(firstword @var{names}@dots{})
|
||||||
Extract the first word of @var{names}.@*
|
Extract the first word of @var{names}.@*
|
||||||
@xref{File Name Functions, ,Functions for File Names}.
|
@xref{File Name Functions, ,Functions for File Names}.
|
||||||
@ -9071,6 +9079,18 @@ Find file names matching a shell file name pattern (@emph{not} a
|
|||||||
@samp{%} pattern).@*
|
@samp{%} pattern).@*
|
||||||
@xref{Wildcard Function, ,The Function @code{wildcard}}.
|
@xref{Wildcard Function, ,The Function @code{wildcard}}.
|
||||||
|
|
||||||
|
@item $(error @var{text}@dots{})
|
||||||
|
|
||||||
|
When this function is evaluated, @code{make} generates a fatal error
|
||||||
|
with the message @var{text}.@*
|
||||||
|
@xref{Make Control Functions, ,Functions That Control Make}.
|
||||||
|
|
||||||
|
@item $(warning @var{text}@dots{})
|
||||||
|
|
||||||
|
When this function is evaluated, @code{make} generates a warning with
|
||||||
|
the message @var{text}.@*
|
||||||
|
@xref{Make Control Functions, ,Functions That Control Make}.
|
||||||
|
|
||||||
@item $(shell @var{command})
|
@item $(shell @var{command})
|
||||||
|
|
||||||
Execute a shell command and return its output.@*
|
Execute a shell command and return its output.@*
|
||||||
@ -9089,6 +9109,13 @@ and concatenate the results.@*
|
|||||||
@xref{Foreach Function, ,The @code{foreach} Function}.
|
@xref{Foreach Function, ,The @code{foreach} Function}.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
@item $(call @var{var},@var{param},@dots{})
|
||||||
|
|
||||||
|
Evaluate the variable @var{var} replacing any references to @var{$(1)},
|
||||||
|
@var{$(2)} with the first, second, etc. @var{param} values.@*
|
||||||
|
@xref{Call Function, ,The @code{call} Function}.
|
||||||
|
@end table
|
||||||
|
|
||||||
Here is a summary of the automatic variables.
|
Here is a summary of the automatic variables.
|
||||||
@xref{Automatic, ,Automatic Variables},
|
@xref{Automatic, ,Automatic Variables},
|
||||||
for full information.
|
for full information.
|
||||||
@ -9207,6 +9234,11 @@ effect on the operation of @code{make}.@*
|
|||||||
@item SUFFIXES
|
@item SUFFIXES
|
||||||
|
|
||||||
The default list of suffixes before @code{make} reads any makefiles.
|
The default list of suffixes before @code{make} reads any makefiles.
|
||||||
|
|
||||||
|
@item .LIBPATTERNS
|
||||||
|
Defines the naming of the libraries @code{make} searches for, and their
|
||||||
|
order.@*
|
||||||
|
@xref{Libraries/Search, ,Directory Search for Link Libraries}.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@node Make Errors, Complex Makefile, Quick Reference, Top
|
@node Make Errors, Complex Makefile, Quick Reference, Top
|
||||||
|
Loading…
Reference in New Issue
Block a user