Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241270 - dev-lang/lisaac: documentation installed outside /usr/share/doc/${PF}
Summary: dev-lang/lisaac: 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: 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:41 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2012-02-12 11:55 UTC (History)
0 users

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


Attachments
New ebuild which uses the patched Makefile (lisaac-0.13.1-r1.ebuild,1.78 KB, text/plain)
2008-10-13 09:49 UTC, Boris Fersing (RETIRED)
Details
The patch for the makefile. It adds the possibility to set the $DOC variable (lisaac-0.13.1-makefile.patch,264 bytes, patch)
2008-10-13 09:51 UTC, Boris Fersing (RETIRED)
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:41:44 UTC
[snip]
./usr/share/doc/lisaac/examples/shell/shell.li
./usr/share/doc/lisaac/examples/slot/
./usr/share/doc/lisaac/examples/slot/parent_plus.li
./usr/share/doc/lisaac/examples/slot/parent_minus_expanded.li
./usr/share/doc/lisaac/examples/slot/obj.li
./usr/share/doc/lisaac/examples/slot/parent_minus.li
./usr/share/doc/lisaac/examples/slot/parent_plus_expanded.li
./usr/share/doc/lisaac/examples/slot/master.li
./usr/share/doc/lisaac/examples/su_doku/
./usr/share/doc/lisaac/examples/su_doku/su_doku.li
./usr/share/doc/lisaac/examples/super/
./usr/share/doc/lisaac/examples/super/obj.li
./usr/share/doc/lisaac/examples/super/master.li
./usr/share/doc/lisaac/examples/tetris/
./usr/share/doc/lisaac/examples/tetris/tetris.li
./usr/share/doc/lisaac/examples/tp_lisaac/
./usr/share/doc/lisaac/examples/tp_lisaac/herit.li
./usr/share/doc/lisaac/examples/tp_lisaac/redef.li
./usr/share/doc/lisaac/examples/tp_lisaac/butterfly.li
./usr/share/doc/lisaac/examples/tp_lisaac/action.li
./usr/share/doc/lisaac/examples/tp_lisaac/factorial.li
./usr/share/doc/lisaac/examples/tp_lisaac/my_win.li
./usr/share/doc/lisaac/examples/tp_lisaac/insect.li
./usr/share/doc/lisaac/examples/tp_lisaac/larva.li
./usr/share/doc/lisaac/examples/tree/
./usr/share/doc/lisaac/examples/tree/node_composite.li
./usr/share/doc/lisaac/examples/tree/node.li
./usr/share/doc/lisaac/examples/tree/master.li
./usr/share/doc/lisaac/examples/tree2/
./usr/share/doc/lisaac/examples/tree2/node_composite.li
./usr/share/doc/lisaac/examples/tree2/node.li
./usr/share/doc/lisaac/examples/tree2/master.li
dev-lang/lisaac-0.13.1.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 Boris Fersing (RETIRED) gentoo-dev 2008-10-13 09:49:39 UTC
Created attachment 168276 [details]
New ebuild which uses the patched Makefile
Comment 2 Boris Fersing (RETIRED) gentoo-dev 2008-10-13 09:51:12 UTC
Created attachment 168278 [details, diff]
The patch for the makefile. It adds the possibility to set the $DOC variable
Comment 3 Boris Fersing (RETIRED) gentoo-dev 2008-10-13 09:54:40 UTC
I've tested the new ebuild on my system. The only changes are the src_unpack section and the emake install.

Please test and tell me if it works for you
Comment 4 Pacho Ramos gentoo-dev 2012-02-12 11:55:06 UTC
+*lisaac-0.13.1-r1 (12 Feb 2012)
+
+  12 Feb 2012; Pacho Ramos <pacho@gentoo.org>
+  +files/lisaac-0.13.1-makefile.patch, +lisaac-0.13.1-r1.ebuild:
+  Install docs at proper place (bug #241270 by Boris Fersing) and respect CC
+  (bug #243878 by flameeyes).
+