Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298190 - sys-block/tgt: documentation installed outside /usr/share/doc/${PF}
Summary: sys-block/tgt: documentation installed outside /usr/share/doc/${PF}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 11:13 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-02-23 16:53 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-24 11:13:16 UTC
You're getting this bug because the package in summary installs its documentation (or at least part of it) outside the usual /usr/share/doc/${PF} directory.

First, please keep in mind that this bug might not be noticeable for -r0 ebuilds, but it might be for -r1 and later, since if the ebuild has same name and version of the package, for -r0 it might correspond properly.

To fix this, if the package uses autotools, recent version (autoconf 2.61+) have two ./configure switches: --docdir and --htmldir to decide where to put the documentation. Older versions might require you override docdir/htmldir or other custom variables during make install.

For non-autotooled build systems, good luck, since I cannot tell you how to achieve the proper results, the same holds true with totally broken buildsystems even when based on autotools.

Thanks,
Diego
Comment 1 Alexey Shvetsov archtester gentoo-dev 2010-02-23 16:53:18 UTC
fixed in tree with version 1.0.1
Using commit message:
------------------------------------------------------------------------------
[sys-block/tgt] Version bump. Also fix for bug #298190
(Portage version: 2.2_rc63/cvs/Linux x86_64)
------------------------------------------------------------------------------

/var/cvsroot/gentoo-x86/sys-block/tgt/ChangeLog,v  <--  ChangeLog
new revision: 1.4; previous revision: 1.3
/var/cvsroot/gentoo-x86/sys-block/tgt/tgt-1.0.1.ebuild,v  <--  tgt-1.0.1.ebuild
initial revision: 1.1
/var/cvsroot/gentoo-x86/sys-block/tgt/tgt-0.9.10.ebuild,v  <--  tgt-0.9.10.ebuild
new revision: delete; previous revision: 1.3
>>> Creating Manifest for /home/alexxy/gentoo-x86/sys-block/tgt