summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2019-04-27 02:33:50 +0200
committerMatt Turner <mattst88@gentoo.org>2019-04-26 21:50:19 -0700
commitc7779b29f76d57649a36cd5b6d53c7fb1d8bbe71 (patch)
tree04052223f1b30313efa89f0a247693fbfde1a49d /eclass
parentdev-util/ccache: amd64 stable wrt bug #684432 (diff)
downloadgentoo-c7779b29f76d57649a36cd5b6d53c7fb1d8bbe71.tar.gz
gentoo-c7779b29f76d57649a36cd5b6d53c7fb1d8bbe71.tar.bz2
gentoo-c7779b29f76d57649a36cd5b6d53c7fb1d8bbe71.zip
xorg-3.eclass: Remove parent directories of ${D}/usr/share/man/man3 when empty.
Bug: https://bugs.gentoo.org/595936 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'eclass')
-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)