summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJonathan Callen <en.ABCD@gmail.com>2009-08-20 03:29:21 -0400
committerJonathan Callen <en.ABCD@gmail.com>2009-08-20 03:38:50 -0400
commitd6e57fe0be2cc2385731eb8ae6001d558878a940 (patch)
tree5c2537b1dc1ed912ee33665962d8f3e2dddcc4cd /eclass
parent638c2a6d4bb71a52524e2322d75fcbbe015508b0 (diff)
downloadkde-d6e57fe0be2cc2385731eb8ae6001d558878a940.tar.gz
kde-d6e57fe0be2cc2385731eb8ae6001d558878a940.tar.bz2
kde-d6e57fe0be2cc2385731eb8ae6001d558878a940.zip
[eclass] Allow kdelibs to install the handbook properly
The kde4-base eclass needed to special case kdelibs in src_prepare, as it assumed that the immediate subdirectories of doc/ were languages that were to be controlled by LINGUAS. This fixes bug 281920.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-base.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 80ad2cd65c2..05a618b730f 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -487,9 +487,10 @@ kde4-base_src_prepare() {
fi
# Enable/disable handbooks for kde4-base packages
- # kde-l10n inherits kde-base but is metpackage, so no check for doc
+ # kde-l10n inherits kde4-base but is metpackage, so no check for doc
+ # kdelibs inherits kde4-base but handle installing the handbook itself
if ! has kde4-meta ${INHERITED}; then
- has handbook ${IUSE//+} && [[ ${PN} != kde-l10n ]] && enable_selected_doc_linguas
+ has handbook ${IUSE//+} && [[ ${PN} != kde-l10n ]] && [[ ${PN} != kdelibs ]] && enable_selected_doc_linguas
fi
[[ ${BUILD_TYPE} = live ]] && subversion_src_prepare