summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/xorg-3.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass
index 5b44ac34207f..557a65233cb7 100644
--- a/eclass/xorg-3.eclass
+++ b/eclass/xorg-3.eclass
@@ -374,6 +374,7 @@ xorg-3_src_install() {
if in_iuse doc && ! use doc; then
rm -rf "${D}"/usr/share/man/man3
+ rmdir "${D}"/usr{/share{/man,},} 2>/dev/null
fi
# Don't install libtool archives (even for modules)