Re: [DOCS] Change draft gmake control

2007-01-27 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Well, if 'draft' was only for html, I could see suggesting just 'gmake > > draft', but 'draft' can be used for Postscript and PDF too. > > But those aren't cases where saving some typing is useful (in fact, > I'd bet money that no one

Re: [DOCS] Change draft gmake control

2007-01-27 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Well, if 'draft' was only for html, I could see suggesting just 'gmake > draft', but 'draft' can be used for Postscript and PDF too. But those aren't cases where saving some typing is useful (in fact, I'd bet money that no one will ever use them). Draft

Re: [pgsql-patches] [DOCS] Change draft gmake control

2007-01-27 Thread Andrew Dunstan
Bruce Momjian wrote: Well, if 'draft' was only for html, I could see suggesting just 'gmake draft', but 'draft' can be used for Postscript and PDF too. The maybe have targets draft-html, draft-postscript and draft-pdf ? cheers andrew ---(end of broadcast)-

Re: [DOCS] Change draft gmake control

2007-01-27 Thread Bruce Momjian
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)

Re: [pgsql-patches] [DOCS] Change draft gmake control

2007-01-27 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> 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 "

Re: [DOCS] Change draft gmake control

2007-01-27 Thread Peter Eisentraut
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 th

Re: [DOCS] Change draft gmake control

2007-01-27 Thread Bruce Momjian
Peter Eisentraut wrote: > 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 ? I

Re: [DOCS] Change draft gmake control

2007-01-27 Thread Peter Eisentraut
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. Thou