Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356461 - sys-apps/portage-2.1.9.41: dodoc -r collapses directory structure
Summary: sys-apps/portage-2.1.9.41: dodoc -r collapses directory structure
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 349307
  Show dependency tree
 
Reported: 2011-02-25 18:31 UTC by Zac Medico
Modified: 2011-03-02 05:40 UTC (History)
0 users

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 Zac Medico gentoo-dev 2011-02-25 18:31:02 UTC
Example:

EAPI=4
src_install() {
  mkdir -p a/b/c/d/e/f
  dodoc -r a
}

Results:

${D}usr/share/doc/${PF}/a
${D}usr/share/doc/${PF}/b
${D}usr/share/doc/${PF}/c
${D}usr/share/doc/${PF}/d
${D}usr/share/doc/${PF}/e

Note:

When we rewrite this, we may want to borrow some of the recursion optimization code from doins -r.
Comment 2 Zac Medico gentoo-dev 2011-03-02 05:40:19 UTC
This is fixed in 2.1.9.42 and 2.2.0_alpha26.