Shipping documentation untarred

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Shipping documentation untarred
Дата
Msg-id 200908051024.09033.peter_e@gmx.net
обсуждение исходный текст
Ответы Re: Shipping documentation untarred  (Magnus Hagander <magnus@hagander.net>)
Re: Shipping documentation untarred  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
So the next step to documentation bliss is to get rid of the man.tar.gz and 
postgres.tar.gz tarballs that are shipped inside the tarball.  These are 
historical artifacts from the era when building the documentation for release 
required manual interference, and that era ended yesterday at the latest.

Here is how I would like to set this up:

* Man pages are built into doc/src/sgml/man1 and doc/src/sgml/man7.  This is 
already happening.

* HTML files are built into doc/src/sgml/html.  On installation, we just copy 
that directory.

* In doc/src/sgml/Makefile, put

distprep: man html

so that both documentation formats are built when the tarball is built.

An added twist is that derived files that are shipped in the release tarball 
must be built in the source directory, not in the build directory (cf. gram.c 
etc.).  This is not a problem with a few options on the respective tools 
(famous last words ...), but I just want to warn about it.

If people would find this behavior too weird for their personal development 
workflow, we could add another target or other option to get the behavior you 
want.  Let me know.


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Alpha releases: How to tag
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: ECPG support for struct in INTO list