Hi, I had some difficulty finding out what a minus sign does in a Makefile. Attached patch suggests to add the word to the text and the index, like it is done for tilde.
By the way, in HTML the at signs in the following two index items look very different: @ (in recipes): Echoing @, and define: Canned Recipes So I think the following change would be good: -@cindex @@, and @code{define} +@cindex @code{@@} and @code{define} If so, then this would have to be done for several other tokens too (+, -, ?, ...). Regards, Benno -- http://www.fastmail.fm - IMAP accessible web-mail
From c28a6bd72a64962e62bca96abb19792a596314a5 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensb...@justemail.net> Date: Wed, 13 Mar 2013 11:21:39 +0100 Subject: [PATCH] Add the word "minus sign" to text and index. --- doc/make.texi | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/make.texi b/doc/make.texi index 2fe7aa6..fde78cc 100644 --- a/doc/make.texi +++ b/doc/make.texi @@ -4146,8 +4146,9 @@ For example, you may use the @code{mkdir} command to ensure that a directory exists. If the directory already exists, @code{mkdir} will report an error, but you probably want @code{make} to continue regardless. -@cindex @code{-} (in recipes) -To ignore errors in a recipe line, write a @samp{-} at the beginning +@cindex @code{-} (minus sign, in recipes) +@cindex minus sign (@code{-}, in recipes) +To ignore errors in a recipe line, write a @samp{-} (minus sign) 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. -- 1.7.0.4
_______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make