Re: pgsql: Ship documentation without intermediate tarballs Documentation

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Eisentraut <petere(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgsql: Ship documentation without intermediate tarballs Documentation
Date: 2009-08-10 20:03:12
Message-ID: 20090810200312.GA7359@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Peter Eisentraut wrote:
> Log Message:
> -----------
> Ship documentation without intermediate tarballs
>
> Documentation files in HTML and man formats are now prepared for
> distribution using the distprep make target, like everything else. They
> are placed in doc/src/sgml/html and manX and installed from there by
> make install, if present. The business with the tarballs in the tarball
> is gone.

Hmm, I notice that this rule to install manpages is pretty slow:

for file in /pgsql/source/00head/doc/src/sgml/man1/*.1 /pgsql/source/00head/doc/src/sgml/man3/*.3 /pgsql/source/00head/doc/src/sgml/man7/*.7; do /bin/sh /pgsql/source/00head/config/install-sh -c -m 644 $file /pgsql/install/00head/share/man/`echo $file | sed 's,^/pgsql/source/00head/doc/src/sgml/,,'` || exit; done

Can we use "basename" here instead of the `echo | sed` hack?

Hmm, oh, I see it's stripping everything except the last directory level.
I guess I'd go for doing a simple cp inside each man directory.

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2009-08-10 20:16:05 pgsql: Refactor NUM_cache_remove calls in error report path to a PG_TRY
Previous Message Tom Lane 2009-08-10 19:15:00 Re: pgsql: rm_cleanup functions need to be allowed to write WAL entries.

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2009-08-10 20:14:06 Re: Patch for 8.5, transformationHook
Previous Message Kevin Grittner 2009-08-10 20:02:14 Re: Patch for 8.5, transformationHook