Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427810 - dev-cpp/tclap-1.2.0 installs duplicate html files with USE="doc"
Summary: dev-cpp/tclap-1.2.0 installs duplicate html files with USE="doc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-23 20:16 UTC by Chris Mayo
Modified: 2012-07-25 17:08 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 Chris Mayo 2012-07-23 20:16:44 UTC
$ ls /usr/share/doc/tclap*
/usr/share/doc/tclap:
html  index.html  manual.html  style.css

/usr/share/doc/tclap-1.2.0:
html


Fixed for me by adding docdir="/usr/share/doc/${PF}/html" to emake install and removing dohtml:

src_install() {
	emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" install || die "emake install failed"
}


This results in:
$ ls /usr/share/doc/tclap-1.2.0/html/
html  index.html  manual.html  style.css

portage automatically creates the symlink:
/usr/share/doc/html/dev-cpp/tclap -> /usr/share/doc/tclap-1.2.0/html

which can be used to find index.html and manual.html independently of version.
Comment 1 Pacho Ramos gentoo-dev 2012-07-25 17:08:05 UTC
+  25 Jul 2012; Pacho Ramos <pacho@gentoo.org> tclap-1.2.0.ebuild:
+  Install doc files at proper place, bug #427810 by Chris Mayo.
+