Mart Raudsepp kirjoitti:
> On P, 2008-10-05 at 20:34 +0200, Thomas Sachau wrote:
>> Rémi Cardona schrieb:
>>> Thomas Sachau a écrit :
>>>> Why not do both (rebuild and install) with the doc useflag and none of
>>>> both, if it is not set? Imho
>>>> the doc flag is for control of installation for (additional) docs, the
>>>> way it is used for gtk-doc is
>>>> surely confusing.
>>>>
>>> Building gtk-doc documentation pulls in a lot of deps. Installing it
>>> requires only some disk-space. For a full Gnome system, I only have 96M
>>> of docs.
>>>
>>> As for rebuilding docs, one of the advantage is to correctly crosslink
>>> docs for tools such as dev-util/devhelp.
>>>
>>> If anyone is _that_ short on diskspace, we'll gladly take patches :)
>>>
>>> Cheers
>>>
>>> Rémi
>>>
>>>
>> Did i say something about disk space? I say, you are using the doc use flag in a way that is not
>> expected.
>
> The doc USE flag is typically used when it means additional
> dependencies, noticeable build time increase or extra downloads. For all
> the GNOME packages the former two apply for USE=doc because it requires
> a hefty dependency list for doc generation and a long documentation
> regeneration time.
> The tradition is to always install documentation that is already
> available. That is what we do. Those that want extra benefits of waiting
> on the doc building to get better doc hyperlinking and such, can do so
> with USE=doc, which is expected to take a longer time to build.
>
With USE="doc" the GNOME packages behave like what you expect but it's
the USE="-doc" case that's in question here. With USE="-doc" you don't
get any use flags installed normally and if it's in the tarball and is
always installed then there is no doc in IUSE either. Global use flags
should behave about the same for both on and off cases.
Regards,
Petteri
|