On Sat, 04 Mar 2006 23:04:22 +0100,
Simon Stelling <[EMAIL PROTECTED]> wrote:

> Thomas de Grenier de Latour wrote:
> >   post_src_install() { rm -rf ${D}usr/share/doc ; }
> > This way, files will be deleted for real, before getting merged or
> > added to your binary package.
> 
> No, that function never gets executed with binary packages.

I know, but what i understand from MIkey's email is that he wants to
create some smaller binary packages, without the doc files inside.
Hence the choice of post_src_install.

If it was to do it at pre/post_pkg_preinst time, then INSTALL_MASK
would have done the trick anyway, no need for a hook function.

--
TGL.
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to