summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/imlib2/imlib2-1.5.1-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/imlib2/imlib2-1.5.1-r1.ebuild b/media-libs/imlib2/imlib2-1.5.1-r1.ebuild
index 7457df0e31d..ca27d229d37 100644
--- a/media-libs/imlib2/imlib2-1.5.1-r1.ebuild
+++ b/media-libs/imlib2/imlib2-1.5.1-r1.ebuild
@@ -65,7 +65,10 @@ multilib_src_configure() {
multilib_src_install() {
V=1 emake install DESTDIR="${D}"
- use doc && local HTML_DOCS=( "${S}"/doc/. )
+ if use doc; then
+ local HTML_DOCS=( "${S}"/doc/. )
+ rm "${S}"/doc/Makefile.{am,in} || die
+ fi
einstalldocs
find "${D}" -name '*.la' -delete || die