mirror of
https://github.com/mirror/make.git
synced 2025-02-06 17:50:48 +08:00
* doc/make.texi: [SV-66018] Mention .ONESHELL in [-+@] docs
This commit is contained in:
parent
034f862361
commit
4d883c414d
@ -4090,6 +4090,9 @@ the makefile:
|
|||||||
@@echo About to make distribution files
|
@@echo About to make distribution files
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
Note that the start of a recipe line is interpreted differently when
|
||||||
|
using @code{.ONESHELL} (@pxref{One Shell, ,Using One Shell}).
|
||||||
|
|
||||||
@cindex @code{-n}
|
@cindex @code{-n}
|
||||||
@cindex @code{--just-print}
|
@cindex @code{--just-print}
|
||||||
@cindex @code{--dry-run}
|
@cindex @code{--dry-run}
|
||||||
@ -4675,6 +4678,9 @@ To ignore errors in a recipe line, write a @samp{-} at the beginning
|
|||||||
of the line's text (after the initial tab). The @samp{-} is discarded
|
of the line's text (after the initial tab). The @samp{-} is discarded
|
||||||
before the line is passed to the shell for execution.
|
before the line is passed to the shell for execution.
|
||||||
|
|
||||||
|
Note that the beginning of a recipe line is interpreted differently when
|
||||||
|
using @code{.ONESHELL} (@pxref{One Shell, ,Using One Shell}).
|
||||||
|
|
||||||
For example,
|
For example,
|
||||||
|
|
||||||
@example
|
@example
|
||||||
@ -4881,6 +4887,9 @@ recipe: it does not apply if the @code{MAKE} variable is referenced
|
|||||||
through expansion of another variable. In the latter case you must
|
through expansion of another variable. In the latter case you must
|
||||||
use the @samp{+} token to get these special effects.
|
use the @samp{+} token to get these special effects.
|
||||||
|
|
||||||
|
Note that the beginning of a recipe line is interpreted differently when
|
||||||
|
using @code{.ONESHELL} (@pxref{One Shell, ,Using One Shell}).
|
||||||
|
|
||||||
Consider the command @samp{make -t} in the above example. (The
|
Consider the command @samp{make -t} in the above example. (The
|
||||||
@samp{-t} option marks targets as up to date without actually running
|
@samp{-t} option marks targets as up to date without actually running
|
||||||
any recipes; see @ref{Instead of Execution}.) Following the usual
|
any recipes; see @ref{Instead of Execution}.) Following the usual
|
||||||
|
Loading…
Reference in New Issue
Block a user