Summary: | honor -doc in USE when doing dodoc | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Stephen Leaf <smileaf> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | CC: | flash3001 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Stephen Leaf
2004-10-27 05:45:59 UTC
adding if [ "${USE}" != "${USE%-doc%}" ] ; then around the content seems to work great :) 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. doc is for documentation ABOVE AND BEYOND the normal amount what you want is FEATURES=nodoc, see `man make.conf` I consider man pages to be documentation.. and anything else to be extra (README, TODO, ChangeLog, etc.) it really doesnt matter what you think USE=doc should mean, we're not going to change |