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 |