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

Bug 356461

Summary: sys-apps/portage-2.1.9.41: dodoc -r collapses directory structure
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: 2.1   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 349307    

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.