Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id B13AB9FA434; Sat, 27 Jan 2007 12:38:10 -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 83981-04; Sat, 27 Jan 2007 12:38:07 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 5444C9FA1FD; Sat, 27 Jan 2007 12:38:07 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l0RGc4Sf006402; Sat, 27 Jan 2007 11:38:04 -0500 (EST) To: Bruce Momjian cc: Peter Eisentraut , pgsql-docs@postgresql.org, PostgreSQL-patches Subject: Re: [pgsql-patches] Change draft gmake control In-reply-to: <200701271514.l0RFEXK19056@momjian.us> References: <200701271514.l0RFEXK19056@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Sat, 27 Jan 2007 10:14:33 -0500" Date: Sat, 27 Jan 2007 11:38:03 -0500 Message-ID: <6401.1169915883@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/22 X-Sequence-Number: 4118 Bruce Momjian writes: > Peter Eisentraut wrote: >> 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. No, the point is that "gmake draft" ought to work. I'm not sure where you came up with the idea that "gmake draft html" was a sane command, but it certainly wasn't what was proposed initially. regards, tom lane