[pacman-dev] makepkg patch to create $pkgname-docs package for docs
Alessio 'mOLOk' Bolognino
themolok.ml at gmail.com
Mon Apr 23 16:09:38 EDT 2007
On 15:52 Mon 23 Apr , James Rosten wrote:
> On Apr 23, 2007, at 1:38 PM, Alessio 'mOLOk' Bolognino wrote:
>
> > This patch is a proof of concept to create a separate package
> > for docs file ($pkgname-docs) with an only PKGBUILD.
> >
>
> Just to clarify a bit: so say someone has the PKGBUILD for CVS and
> they build it and install with the docs options as "y" does it build
> just one package (CVS with the docs) or two packages (CVS and CVS'
> docs)?
if docs=n and packdocs=n it build a package with the software only;
if docs=y and packdocs=n it builds a package with the software and the
docs;
if docs=y and packdocs=y it builds two packages, one with the software
and one with the docs;
if docs=n and packdocs=y it builds two packages, one with the software
and one with the docs.
In this way the default behaviour doesn't change, so it shouldn't break
anything.
--
Alessio 'mOLOk' Bolognino
Arch Linux Trusted User
Public Key @ http://themolok.netsons.org/uploads/themolok.asc
Key ID = 1024D / FE0270FB 2007-04-11
Key Fingerprint = 9AF8 9011 F271 450D 59CF 2D7D 96C9 8F2A FE02 70FB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20070423/0dbc4f05/attachment.pgp>
More information about the pacman-dev
mailing list