Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241258 - app-office/tpp: documentation installed outside /usr/share/doc/${PF}
Summary: app-office/tpp: 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 (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-11 10:36 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-10-14 12:14 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 2008-10-11 10:36:23 UTC
./usr/share/doc/tpp/
./usr/share/doc/tpp/DESIGN
./usr/share/doc/tpp/CHANGES
./usr/share/doc/tpp/COPYING
./usr/share/doc/tpp/README
./usr/share/doc/tpp/THANKS
./usr/share/doc/tpp/contrib/
./usr/share/doc/tpp/contrib/tpp-mode.el
./usr/share/doc/tpp/contrib/tpp.vim
./usr/share/doc/tpp/examples/
./usr/share/doc/tpp/examples/ac-am.tpp
./usr/share/doc/tpp/examples/align-footer.tpp
./usr/share/doc/tpp/examples/bold.tpp
./usr/share/doc/tpp/examples/colors.tpp
./usr/share/doc/tpp/examples/colors2.tpp
./usr/share/doc/tpp/examples/debian-packaging.tpp
./usr/share/doc/tpp/examples/exec.tpp
./usr/share/doc/tpp/examples/horline.tpp
./usr/share/doc/tpp/examples/huge.tpp
./usr/share/doc/tpp/examples/list.tpp
./usr/share/doc/tpp/examples/manyslides.tpp
./usr/share/doc/tpp/examples/shell.tpp
./usr/share/doc/tpp/examples/slidein.tpp
./usr/share/doc/tpp/examples/source.tpp
./usr/share/doc/tpp/examples/test.tpp
./usr/share/doc/tpp/examples/tpp-features.tpp
./usr/share/doc/tpp/examples/wrap.tpp
app-office/tpp-1.3.tbz2

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 Hans de Graaff gentoo-dev Security 2008-10-14 12:14:39 UTC
Fixed in CVS.