Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920885

Summary: dev-libs/libxml2: installs docs with FEATURES=nodoc
Product: Gentoo Linux Reporter: om3i <r9ku1q>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description om3i 2023-12-28 10:58:25 UTC
It places the documentation at /usr/share/gtk-doc/html/libxml2/

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2023-12-28 11:17:38 UTC
FEATURES="nodoc" is just to remove basic /usr/share/doc location docs (meant to be opened directly by users) rather than guess what every ebuilds may install and where that are often meant to be read by specific applications (e.g. qt-creator and assistant reads /usr/share/qt*-doc, and it would be an issue FEATURES="nodoc" casually deleted them, dev-qt/qt-docs would even install nothing).

If you really want to remove other files and certain you don't need them, you can use portage's INSTALL_MASK variable directly (nodoc is a rough equivalent that only does INSTALL_MASK="/usr/share/doc").