Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241260 - app-text/cook: documentation installed outside /usr/share/doc/${PF}
Summary: app-text/cook: 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: 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: 2008-10-11 10:37 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-05-13 03:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Install documentation to /usr/share/doc/${PF} (cook_fix_doc_install_dir.patch,445 bytes, patch)
2009-05-04 22:28 UTC, Espen Hustad
Details | Diff
Install documentation to /usr/share/doc/${PF}, and die on failure (cook_fix_doc_install_dir.patch,976 bytes, patch)
2009-05-05 13:50 UTC, Espen Hustad
Details | Diff

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:37:56 UTC
./usr/share/doc/cook-1.0.2/
./usr/share/doc/cook-1.0.2/example/
./usr/share/doc/cook-1.0.2/example/pcb.dbdef
./usr/share/doc/cook-1.0.2/example/pcb.dg
./usr/share/doc/cook-1.0.2/example/pcbprol.ps
./usr/share/doc/cook-1.0.2/example/tempsens.pcb
./usr/share/doc/cook-1.0.2/README.Gentoo
app-text/cook-1.0.2-r1.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 Espen Hustad 2009-05-04 22:28:51 UTC
Created attachment 190361 [details, diff]
Install documentation to /usr/share/doc/${PF}
Comment 2 Espen Hustad 2009-05-05 13:50:26 UTC
Created attachment 190414 [details, diff]
Install documentation to /usr/share/doc/${PF}, and die on failure
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-05-13 03:51:47 UTC
thx Espen, fixed!