From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: SGML makefile
Date: Fri, 23 Nov 2001 12:53:34 -0500 (EST)
Message-ID: <200111231753.fANHrYb06362@candle.pha.pa.us> (raw)
In-Reply-To: <6789.1006536889@sss.pgh.pa.us>
> Bruce Momjian <pgman@candle.pha.pa.us> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, peter_e@gmx.net
Subject: Re: SGML makefile
In-Reply-To: <200111231753.fANHrYb06362@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox