Re: Change draft gmake control - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Change draft gmake control
Date
Msg-id 200701271728.04355.peter_e@gmx.net
Whole thread Raw
In response to Re: Change draft gmake control  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Change draft gmake control  (Bruce Momjian <bruce@momjian.us>)
List pgsql-docs
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.

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

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Change draft gmake control
Next
From: Tom Lane
Date:
Subject: Re: [pgsql-patches] Change draft gmake control