Re: Need --without-docs build switch

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Need --without-docs build switch
Дата
Msg-id 20091210193257.GN15554@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Need --without-docs build switch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Josh Berkus <josh@agliodbs.com> writes:
> > On 12/10/09 10:03 AM, Tom Lane wrote:
> >> Josh Berkus <josh@agliodbs.com> writes:
> >>> Testing Alpha2 with the Exclusion Constraints patch on Mac recently
> >>> forced me to edit the makefiles to remove the make docs statements.
> >> 
> >> How so?  The make process does not try to build the docs unless you
> >> specifically tell it to.
> 
> > It most certainly did with Alpha2.
> 
> Hm, maybe the alpha2 tarball had docs in it already?  And they weren't
> up to date?  You might be hitting the same thing I've complained of:
> since "make distclean" no longer removes built docs, you can find
> yourself running an update cycle when you didn't want to.  Peter
> rejected my opinion that we should go back to the old behavior of
> "make distclean", but I'm still not happy about it.
> http://archives.postgresql.org/pgsql-hackers/2009-08/msg01336.php

If the patch added new docs, then a doc build would be invoked by make.
A "make -C doc maintainer-clean" would remove the trigger files and thus
the docs would not be built after applying the patch.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: tsearch parser inefficiency if text includes urls or emails - new version
Следующее
От: fche@redhat.com (Frank Ch. Eigler)
Дата:
Сообщение: Re: [PATCH] dtrace probes for memory manager