pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-docs@postgresql.org
Cc: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-patches <pgsql-patches@postgresql.org>
Subject: Re: Change draft gmake control
Date: Sat, 27 Jan 2007 10:46:11 +0100
Message-ID: <200701271046.11947.peter_e@gmx.net> (raw)
In-Reply-To: <200701262230.l0QMUrp07574@momjian.us>
References: <200701262230.l0QMUrp07574@momjian.us>

Bruce Momjian wrote:
> I had to change the draft flag for SGML from 'gmake draft html' to
> 'gmake DRAFT=Y html'.  Internally the code used to recurse with
> DRAFT=Y, but I found there is no way to exit the makefile after the
> recursion returned,

exit 0 ?

> so I had to use this new syntax.  Though more 
> cumbersome, it is more logical because DRAFT is really a modifier,
> not a rule itself. For example, 'gmake html draft' would never have
> worked.

What would have been the meaning of that command?

Anyway, certainly you could write this to preserve the target:

draft:
	$(MAKE) html DRAFT=Y

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



view thread (9+ messages)  latest in thread

Message-ID: <200701271046.11947.peter_e@gmx.net>
Permalink:  ../200701271046.11947.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200701271046.11947.peter_e@gmx.net

 · 

reply

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: peter_e@gmx.net, bruce@momjian.us, pgsql-patches@postgresql.org
  Subject: Re: Change draft gmake control
  In-Reply-To: <200701271046.11947.peter_e@gmx.net>

* 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