Thread: Re: [HACKERS] doc troubles.

Re: [HACKERS] doc troubles.

From
darrenk@insightdist.com (Darren King)
Date:
> >
> > What version of tar understands how to ungzip a .gz file?
> >
> > Is this what the 'z' flag is for?
>
>     gnu tar supports the 'z' flag to uncompress and untar at the same
> time...

This sucks.  As a group that seems to not like GNU (or at least their
license), we require enough of their tools to compile/install postgres.

Off to see the wizard at the gnu ftp site...

> > Untar'd and installed them manually...look good, Thomas.  Nice work.
>
>     Ya, I've built the Solaris packages with PGDOC set to
> $POSTGRESDIR/doc, so that the docs are part of the one package...:)

Is that what $POSTDOCDIR is for in the Makefile.global?  Would this be
a candidate for "--doc-prefix=" to be added to configure?  I'd like to
be able to put the html docs under my web root instead of the postgres
root dir.

darrenk

Re: [HACKERS] doc troubles.

From
"Thomas G. Lockhart"
Date:
> > > What version of tar understands how to ungzip a .gz file?
> > >
> > > Is this what the 'z' flag is for?
> >
> >       gnu tar supports the 'z' flag to uncompress and untar at the same
> > time...
>
> This sucks.  As a group that seems to not like GNU (or at least their
> license), we require enough of their tools to compile/install postgres.
>
> Off to see the wizard at the gnu ftp site...

Quit whining and send in some patches :) I hacked those makefiles at the end
of a 10 hour push to get the docs wrapped up. The best thing that could be
said for them is that they seemed to work on my machine (and I guess on
postgresql.org now that I think about it).

Could we just replace the "tar zxf" with "uncompress ... | tar xf"? Does
anyone else have a strong opinion on (or experience with) makefiles for the
postgres distribution who want to help Darren get out from under the gnu
usage??

                                                   - Tom


Re: [HACKERS] doc troubles.

From
The Hermit Hacker
Date:
On Mon, 2 Mar 1998, Darren King wrote:

> > >
> > > What version of tar understands how to ungzip a .gz file?
> > >
> > > Is this what the 'z' flag is for?
> >
> >     gnu tar supports the 'z' flag to uncompress and untar at the same
> > time...
>
> This sucks.  As a group that seems to not like GNU (or at least their
> license), we require enough of their tools to compile/install postgres.

    Actually, I have nothing against GNU...its the GPL that I don't
like :)  Big big difference...

> Is that what $POSTDOCDIR is for in the Makefile.global?  Would this be
> a candidate for "--doc-prefix=" to be added to configure?  I'd like to
> be able to put the html docs under my web root instead of the postgres
> root dir.

    Actually, I had to edit the Makefile in the doc directory directly
to get it to install where I wanted...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org


Re: [HACKERS] doc troubles.

From
"Thomas G. Lockhart"
Date:
> > Is that what $POSTDOCDIR is for in the Makefile.global?  Would this be
> > a candidate for "--doc-prefix=" to be added to configure?  I'd like to
> > be able to put the html docs under my web root instead of the postgres
> > root dir.
>
>         Actually, I had to edit the Makefile in the doc directory directly
> to get it to install where I wanted...

It looks for Makefile.global->Makefile.custom, in which you could put

PGDOCS= /your/favorite/docs/location

but I'm sure it could stand some changes. Didn't know there was a POSTDOCDIR
already defined :(

                                    - Tom


Re: [HACKERS] doc troubles.

From
Bruce Momjian
Date:
> Could we just replace the "tar zxf" with "uncompress ... | tar xf"? Does
> anyone else have a strong opinion on (or experience with) makefiles for the
> postgres distribution who want to help Darren get out from under the gnu
> usage??

I have gnzip, but no GNU tar, so tar zxf doesn't work.  Maybe gunzip ...
| tar xf.


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)