mirror of
https://github.com/mirror/make.git
synced 2025-02-05 09:10:12 +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>
|
||||
|
||||
* Version 3.77.91 released.
|
||||
|
32
make.texinfo
32
make.texinfo
@ -8955,6 +8955,8 @@ Conditionally evaluate part of the makefile.@*
|
||||
@xref{Conditionals}.
|
||||
|
||||
@item include @var{file}
|
||||
@itemx -include @var{file}
|
||||
@itemx sinclude @var{file}
|
||||
|
||||
Include another makefile.@*
|
||||
@xref{Include, ,Including Other Makefiles}.
|
||||
@ -8962,6 +8964,7 @@ Include another makefile.@*
|
||||
@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 define @var{variable}
|
||||
@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 unexport @var{variable}
|
||||
Tell @code{make} whether or not to export a particular variable to child
|
||||
processes.@*
|
||||
@ -9062,6 +9066,10 @@ Extract the @var{n}th word (one-origin) of @var{text}.@*
|
||||
Count the number of words in @var{text}.@*
|
||||
@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{})
|
||||
Extract the first word of @var{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).@*
|
||||
@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})
|
||||
|
||||
Execute a shell command and return its output.@*
|
||||
@ -9089,6 +9109,13 @@ and concatenate the results.@*
|
||||
@xref{Foreach Function, ,The @code{foreach} Function}.
|
||||
@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.
|
||||
@xref{Automatic, ,Automatic Variables},
|
||||
for full information.
|
||||
@ -9207,6 +9234,11 @@ effect on the operation of @code{make}.@*
|
||||
@item SUFFIXES
|
||||
|
||||
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
|
||||
|
||||
@node Make Errors, Complex Makefile, Quick Reference, Top
|
||||
|
Loading…
Reference in New Issue
Block a user