Thread: Fwd: PostgreSQL 7.4 documentation packaging

Fwd: PostgreSQL 7.4 documentation packaging

From
Josh Berkus
Date:
Folks,

Just got this request from Mark Recht, who maintains an RPM package library at
www.pkgsrc.org.    It seems that we don't have an option for compile for our
docs which is standard with other Linux tools.    How difficult would this be
to add?    It would help Mark keep our packages updated.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco
700
Received: from localhost (localhost [127.0.0.1])
    by www.killtech.org (Postfix) with ESMTP id 4DEF12280E0
    for <josh@agliodbs.com>; Tue, 20 Apr 2004 00:08:09 +0200 (CEST)
Received: from www.killtech.org ([127.0.0.1])
 by localhost (bohramt.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 01432-02-9 for <josh@agliodbs.com>; Tue, 20 Apr 2004 00:08:07 +0200 (CE=
ST)
Received: from [192.168.100.100] (p5086BF6D.dip.t-dialin.net [80.134.191.10=
9])
    by www.killtech.org (Postfix) with ESMTP id EC8852280DB
    for <josh@agliodbs.com>; Tue, 20 Apr 2004 00:08:06 +0200 (CEST)
Date: Tue, 20 Apr 2004 00:07:55 +0200
=46rom: Marc Recht <recht@netbsd.org>
To: josh@agliodbs.com
Subject: PostgreSQL 7.4 documentation
Message-ID: <190710000.1082412475@leeloo.intern.geht.de>
X-Mailer: Mulberry/3.1.2 (Linux/x86)
MIME-Version: 1.0
Content-Type: multipart/signed;
  micalg=3Dpgp-sha1;
  protocol=3D"application/pgp-signature";
  boundary=3D"=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DC7328C07F960314EC872=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D"
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on=20
    galileo.ethosmedia.com
X-Spam-Level: .
X-Spam-Status: No, hits=3D1.9 required=3D5.5 tests=3DLG_4C_2V_3C,OACYS_CONS=
_6,
    RCVD_IN_DSBL,RCVD_IN_NJABL,RCVD_IN_SORBS autolearn=3Dno version=3D2.63
X-EthosMedia-Spam-Filter: Scanned
X-TFF-CGPSA-Version: 1.3.1
X-UID: 34432


=2D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DC7328C07F960314EC872=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
Content-Type: text/plain; charset=3Dus-ascii; format=3Dflowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Subject:=20

Like discussed on IRC just a few seconds ago ;-)

=46rom a packaging point of view tt'd be nice if PostgreSQL would have an=
=3D20
extra
=2D-with-htmldir
option. By default pkgsrc seperates "normal" documentation and HTML=3D20
documentation. The former goes to ${PREFIX}/share/doc/<pkg> the latter to=
=3D20
${PREFIX}/share/doc/html/<pkg>. Currently, with only --docdir, the sources=
=3D20
have to be patched to archieve that.

Cheers,
Marc

=2D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DC7328C07F960314EC872=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Subject:=20

=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAhE277YQCetAaG3MRAk48AJkBDrU+WHcb1JvOpt6Ga4dUNJ3e+QCfd49j
RGCtsKp4X8gc7IQvisKhX7c=3D
=3Don30
=2D----END PGP SIGNATURE-----

=2D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DC7328C07F960314EC872=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D--


Re: Fwd: PostgreSQL 7.4 documentation packaging

From
Peter Eisentraut
Date:
Am Dienstag, 20. April 2004 00:18 schrieb Josh Berkus:
> Just got this request from Mark Recht, who maintains an RPM package library
> at www.pkgsrc.org.    It seems that we don't have an option for compile for
> our docs which is standard with other Linux tools.    How difficult would
> this be to add?    It would help Mark keep our packages updated.

pkgsrc is a NetBSD package library, not an RPM library.  We do have a target
to "compile" the documentation, which is how the documentation is built in
the first place.  I don't know what "standard" there is about that.

Re: Fwd: PostgreSQL 7.4 documentation packaging

From
Tom Lane
Date:
Peter Eisentraut <peter_e@gmx.net> writes:
> Am Dienstag, 20. April 2004 00:18 schrieb Josh Berkus:
>> Just got this request from Mark Recht, who maintains an RPM package library
>> at www.pkgsrc.org.

> pkgsrc is a NetBSD package library, not an RPM library.  We do have a target
> to "compile" the documentation, which is how the documentation is built in
> the first place.  I don't know what "standard" there is about that.

I think what he was actually asking for was to provide a relatively
simple way (like a configure option) of installing the HTML docs into
a different directory from the plaintext docs.  It didn't sound like an
unreasonable request ...

            regards, tom lane

Re: Fwd: PostgreSQL 7.4 documentation packaging

From
Peter Eisentraut
Date:
Tom Lane wrote:
> I think what he was actually asking for was to provide a relatively
> simple way (like a configure option) of installing the HTML docs into
> a different directory from the plaintext docs.  It didn't sound like
> an unreasonable request ...

You can use --with-docdir.  There are no other docs besides the HTML
ones, so this allows you to place the HTML docs anywhere you like.