diff options
author | Roland McGrath <roland@redhat.com> | 1994-10-17 00:02:27 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-10-17 00:02:27 +0000 |
commit | a543a2ae9f8a43ad6cac0769263328fe22325fd8 (patch) | |
tree | 4a18932228efec27892c2e5bf95778052e313d53 | |
parent | 0e352e4bf7bb9079c41008227d579203508154de (diff) | |
download | gunmake-a543a2ae9f8a43ad6cac0769263328fe22325fd8.tar.gz |
(Commands): Add warning about "blank" line starting with a tab.
-rw-r--r-- | make.texinfo | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/make.texinfo b/make.texinfo index 8d2f744..9f409f3 100644 --- a/make.texinfo +++ b/make.texinfo @@ -8,10 +8,10 @@ @c FSF publishers: format makebook.texi instead of using this file directly. @set RCSID $Id$ -@set EDITION 0.46 +@set EDITION 0.47 DRAFT @set VERSION 3.72 Beta -@set UPDATED 5 July 1994 -@set UPDATE-MONTH July 1994 +@set UPDATED 16 October 1994 +@set UPDATE-MONTH October 1994 @set ISBN 1-882114-50-7 @c finalout @@ -2643,11 +2643,13 @@ with no further work from you. @xref{Remaking Makefiles}. @cindex rule commands @cindex writing rule commands -The commands of a rule consist of shell command lines to be executed one by -one. Each command line must start with a tab, except that the first +The commands of a rule consist of shell command lines to be executed one +by one. Each command line must start with a tab, except that the first command line may be attached to the target-and-dependencies line with a semicolon in between. Blank lines and lines of just comments may appear -among the command lines; they are ignored. +among the command lines; they are ignored. (But beware, an apparently +``blank'' line that begins with a tab is @emph{not} blank! It is an +empty command; @pxref{Empty Commands}.) Users use many different shell programs, but commands in makefiles are always interpreted by @file{/bin/sh} unless the makefile specifies |