Gentoo Archives: gentoo-dev

From: Thomas de Grenier de Latour <degrenier@×××××××××××.fr>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Re: Re: Gratuitous useflaggery (doc and examples)
Date: Sat, 04 Mar 2006 21:49:18
Message-Id: 20060304224736.2ad6d84a@eusebe
In Reply to: [gentoo-dev] Re: Re: Re: Gratuitous useflaggery (doc and examples) by MIkey
1 On Sat, 04 Mar 2006 12:18:22 -0600,
2 MIkey <mikey@×××××××××××.com> wrote:
3
4 > Can it exclude things from being included in binary packages?
5
6 AFAIK, no. But what you could use (with portage-2.1) is a hook
7 function in /etc/portage/bashrc:
8 post_src_install() { rm -rf ${D}usr/share/doc ; }
9 This way, files will be deleted for real, before getting merged or
10 added to your binary package.
11
12 --
13 TGL.
14 --
15 gentoo-dev@g.o mailing list

Replies