I'm not sure when it was added, but at least portage-2.0.49-r21 has
# remove docs
if has nodoc $FEATURES; then
rm -fR ${IMAGE}/usr/share/doc
fi
in dyn_presinst() of ebuild.sh (grep nodoc /usr/lib/portage/bin/ebuild.sh)
noman, noinfo FEATURES are also supported. I cannot find any documentation
about this feature, so I guess it isn't recommended to enable them atm.
--
Mamoru KOMACHI <[EMAIL PROTECTED]>
At Fri, 30 Jan 2004 07:53:40 +0000,
Ciaran McCreesh wrote:
>
> [1 <text/plain; US-ASCII (7bit)>]
> On Thu, 29 Jan 2004 23:01:57 -0800 Drake Wyrm <[EMAIL PROTECTED]> wrote:
> | Just had an idea for a new USE flag. As a companion to the 'doc' USE
> | flag(which installs extra documentation), how about a USE flag which
> | inhibits/any/ documentation. This would be highly handy for trimming
> | down a system such as a server or router which will never have a warm
> | body sitting in front of it after everything is installed and
> | configured. What say ye?
>
> As another possibility... How about a nodocs FEATURES instead? This
> would prevent *any* documentation from being installed by overriding
> dodoc, doman and so on.
>
> --
> Ciaran McCreesh
> Mail: ciaranm at gentoo.org
> Web: http://dev.gentoo.org/~ciaranm
> [2 <application/pgp-signature (7bit)>]
>
--
[email protected] mailing list