Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fANHrYm66848 for ; Fri, 23 Nov 2001 12:53:34 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id fANHrYb06362; Fri, 23 Nov 2001 12:53:34 -0500 (EST) From: Bruce Momjian Message-Id: <200111231753.fANHrYb06362@candle.pha.pa.us> Subject: Re: SGML makefile In-Reply-To: <6789.1006536889@sss.pgh.pa.us> "from Tom Lane at Nov 23, 2001 12:34:49 pm" To: Tom Lane Date: Fri, 23 Nov 2001 12:53:34 -0500 (EST) CC: Peter Eisentraut , PostgreSQL-documentation X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200111/80 X-Sequence-Number: 1153 > Bruce Momjian writes: > > I added a comment to document the purpose. Thanks. > > Um ... is it portable to stick a comment into the body of a make > rule like that? Shell comments and make comments aren't always > the same. I thought about that. Gmake texinfo manual says it is OK. I don't see any other uses of it in our source, though. --------------------------------------------------------------------------- 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-prerequisites line with a semicolon in between. Blank lines and lines of just comments may appear among the command lines; they are ignored. (But beware, an apparently "blank" line that begins with a tab is _not_ blank! It is an empty command; *note Empty Commands::.) -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026