Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294456 - x11-wm/enlightenment: creates empty dir /usr/share/doc/e16
Summary: x11-wm/enlightenment: creates empty dir /usr/share/doc/e16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-24 17:36 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-01-17 20:23 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-11-24 17:36:45 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 SpanKY gentoo-dev 2009-11-24 18:17:39 UTC
no real details
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-24 18:25:49 UTC
/usr/share/doc/e16
Comment 3 SpanKY gentoo-dev 2009-11-24 20:29:37 UTC
$ qlist -e enlightenment | grep -c doc/e16/
0

$ qlist -I -v enlightenment
x11-wm/enlightenment-1.0.1
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-24 21:27:30 UTC
Making install in docs
make[1]: Entering directory `/var/tmp/portage/x11-wm/enlightenment-1.0.1/work/e16-1.0.1/docs'
make[2]: Entering directory `/var/tmp/portage/x11-wm/enlightenment-1.0.1/work/e16-1.0.1/docs'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/doc/e16" || /bin/mkdir -p "/var/tmp/portage/x11-wm/enlightenment-1.0.1/image//usr/share/doc/e16"
test -z "/usr/share/man/man1" || /bin/mkdir -p "/var/tmp/portage/x11-wm/enlightenment-1.0.1/image//usr/share/man/man1"
make[2]: Leaving directory `/var/tmp/portage/x11-wm/enlightenment-1.0.1/work/e16-1.0.1/docs'
make[1]: Leaving directory `/var/tmp/portage/x11-wm/enlightenment-1.0.1/work/e16-1.0.1/docs'

directory is created empty…
Comment 5 SpanKY gentoo-dev 2010-01-17 20:23:15 UTC
the dir is now trimmed in the 1.0.1 ebuild