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 22:30:10
Message-Id: 20060304232831.2f69f1af@eusebe
In Reply to: Re: [gentoo-dev] Re: Re: Re: Gratuitous useflaggery (doc and examples) by Simon Stelling
1 On Sat, 04 Mar 2006 23:04:22 +0100,
2 Simon Stelling <blubb@g.o> wrote:
3
4 > Thomas de Grenier de Latour wrote:
5 > > post_src_install() { rm -rf ${D}usr/share/doc ; }
6 > > This way, files will be deleted for real, before getting merged or
7 > > added to your binary package.
8 >
9 > No, that function never gets executed with binary packages.
10
11 I know, but what i understand from MIkey's email is that he wants to
12 create some smaller binary packages, without the doc files inside.
13 Hence the choice of post_src_install.
14
15 If it was to do it at pre/post_pkg_preinst time, then INSTALL_MASK
16 would have done the trick anyway, no need for a hook function.
17
18 --
19 TGL.
20 --
21 gentoo-dev@g.o mailing list