Re: Change draft gmake control
| От | Peter Eisentraut |
|---|---|
| Тема | Re: Change draft gmake control |
| Дата | |
| Msg-id | 200701271046.11947.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | Change draft gmake control (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: Change draft gmake control
|
| Список | pgsql-docs |
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/
В списке pgsql-docs по дате отправления: