summaryrefslogtreecommitdiff
path: root/eclass/kde5.eclass
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-08-03 23:58:56 +1000
committerMichael Palimaka <kensington@gentoo.org>2015-08-03 23:58:56 +1000
commit788e9a06f693cf3475944eaf760be8ae9eb46382 (patch)
tree0e31afa9d811ef68eb860aa2d8329348fcf36794 /eclass/kde5.eclass
parent12c151c52fe8424961211771dea4ecfd119ceb7c (diff)
downloadkde-788e9a06f693cf3475944eaf760be8ae9eb46382.tar.gz
kde-788e9a06f693cf3475944eaf760be8ae9eb46382.tar.bz2
kde-788e9a06f693cf3475944eaf760be8ae9eb46382.zip
[eclass] Do not compress handbooks.
Otherwise, khelpcenter can't find them.
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index affd1c6afd5..3db64029759 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -533,6 +533,12 @@ kde5_src_install() {
fi
cmake-utils_src_install
+
+ # We don't want ${PREFIX}/share/doc/HTML to be compressed,
+ # because then khelpcenter can't find the docs
+ if [[ -d ${ED}/${PREFIX}/share/doc/HTML ]]; then
+ docompress -x ${PREFIX}/share/doc/HTML
+ fi
}
# @FUNCTION: kde5_pkg_preinst