Shipping documentation untarred - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Shipping documentation untarred
Date
Msg-id 200908051024.09033.peter_e@gmx.net
Whole thread Raw
Responses Re: Shipping documentation untarred
Re: Shipping documentation untarred
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Alpha releases: How to tag
Next
From: Michael Meskes
Date:
Subject: Re: ECPG support for struct in INTO list