Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 9CBA79FB1BD; Sat, 27 Jan 2007 16:33:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 77423-05; Sat, 27 Jan 2007 16:33:48 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from momjian.us (momjian.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 7925E9FB2CA; Sat, 27 Jan 2007 16:33:50 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id l0RKXox24521; Sat, 27 Jan 2007 15:33:50 -0500 (EST) From: Bruce Momjian Message-Id: <200701272033.l0RKXox24521@momjian.us> Subject: Re: Change draft gmake control In-Reply-To: <200701271728.04355.peter_e@gmx.net> To: Peter Eisentraut Date: Sat, 27 Jan 2007 15:33:50 -0500 (EST) CC: pgsql-docs@postgresql.org, PostgreSQL-patches X-Mailer: ELM [version 2.4ME+ PL123] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/23 X-Sequence-Number: 4119 Peter Eisentraut wrote: > Bruce Momjian wrote: > > Nothing, but the point is that draft is a modifier and it isn't clear > > > > >from that syntax that draft is a modifier and not a target. > > > > > > Anyway, certainly you could write this to preserve the target: > > > > > > draft: > > > $(MAKE) html DRAFT=Y > > > > The problem is that the 'gmake' recursion is done, but then returns > > and runs the hhml again, so 'gmake draft html' calls "$(MAKE) html > > DRAFT=Y" and on return from that, the html is called again and > > rebuilds, so it isn't really draft. > > Well, "gmake draft html" doesn't make any sense anyway, but "gmake > draft" by itself does and the new way of writing it is significantly > more cumbersome, so I request that this be fixed. Well, if 'draft' was only for html, I could see suggesting just 'gmake draft', but 'draft' can be used for Postscript and PDF too. -- Bruce Momjian bruce@momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +