]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* doc/make.texi: [SV-66018] Mention .ONESHELL in [-+@] docs
authorPaul Smith <psmith@gnu.org>
Sun, 4 Aug 2024 19:45:55 +0000 (15:45 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 4 Aug 2024 20:02:19 +0000 (16:02 -0400)
doc/make.texi

index eea5639273d445b83b7e27fdd9140683d049e8b9..c8f8e6023624b5147074adc1c956eb5e5c199027 100644 (file)
@@ -4090,6 +4090,9 @@ the makefile:
 @@echo About to make distribution files
 @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{--just-print}
 @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
 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,
 
 @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
 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
 @samp{-t} option marks targets as up to date without actually running
 any recipes; see @ref{Instead of Execution}.)  Following the usual