Re: Re: pgsql: Ship documentation without intermediate tarballs Documentation - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Re: pgsql: Ship documentation without intermediate tarballs Documentation
Date
Msg-id 200908120052.40960.peter_e@gmx.net
Whole thread Raw
In response to Re: pgsql: Ship documentation without intermediate tarballs Documentation  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Re: pgsql: Ship documentation without intermediate tarballs Documentation
List pgsql-hackers
On Monday 10 August 2009 23:03:12 Alvaro Herrera wrote:
> 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.

Yeah, that was really freakishly complicated.  Fixed now.


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Hot standby and synchronous replication status
Next
From: "Kevin Grittner"
Date:
Subject: Re: machine-readable explain output v4