projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3dcbde
)
xorg-3.eclass: Remove developer documentation unless requested
author
Matt Turner
<mattst88@gentoo.org>
Sun, 7 Apr 2019 21:22:36 +0000
(14:22 -0700)
committer
Matt Turner
<mattst88@gentoo.org>
Sun, 7 Apr 2019 21:23:12 +0000
(14:23 -0700)
Closes: https://bugs.gentoo.org/595936
Signed-off-by: Matt Turner <mattst88@gentoo.org>
eclass/xorg-3.eclass
patch
|
blob
|
history
diff --git
a/eclass/xorg-3.eclass
b/eclass/xorg-3.eclass
index 15bb0b381a36ddfcd4c5e242c2cc9f39e10b2f65..d4e52846edf5497eb16725611885a4b6db4dfd2e 100644
(file)
--- a/
eclass/xorg-3.eclass
+++ b/
eclass/xorg-3.eclass
@@
-367,6
+367,11
@@
xorg-3_src_install() {
emake DESTDIR="${D}" "${install_args[@]}" "$@" install || die "emake install failed"
fi
+ # Many X11 libraries unconditionally install developer documentation
+ if ! use_if_iuse doc; then
+ rm -rf "${D}"/usr/share/man/*
+ fi
+
# Don't install libtool archives (even for modules)
find "${D}" -type f -name '*.la' -delete || die
}