Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69127 - honor -doc in USE when doing dodoc
Summary: honor -doc in USE when doing dodoc
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-27 05:45 UTC by Stephen Leaf
Modified: 2004-10-30 21:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Leaf 2004-10-27 05:45:59 UTC
afaik the -doc should stop documentation from being installed however it would appear that it's not being done in the dodoc command and rather the ebuild maintainers must do a 
use doc && dodoc ...

can this be changed so that portage checks if the user wants documentation to be installed in the dodoc command?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Stephen Leaf 2004-10-27 06:01:45 UTC
adding
if [ "${USE}" != "${USE%-doc%}" ] ; then

around the content seems to work great :)
Comment 2 Alexandru Toma 2004-10-27 09:40:39 UTC
AFAIK the doc use flag should only be used when there is _extra_ documentation that can be installed (i.e. HTML docs). Basic docs (README, TODO, ChangeLog, etc.) should always be installed.
Comment 3 SpanKY gentoo-dev 2004-10-27 15:06:27 UTC
doc is for documentation ABOVE AND BEYOND the normal amount

what you want is FEATURES=nodoc, see `man make.conf`
Comment 4 Stephen Leaf 2004-10-30 21:47:20 UTC
I consider man pages to be documentation.. and anything else to be extra (README, TODO, ChangeLog, etc.)
Comment 5 SpanKY gentoo-dev 2004-10-30 21:57:51 UTC
it really doesnt matter what you think USE=doc should mean, we're not going to change