From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E541A13832E for ; Thu, 4 Aug 2016 14:11:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F31B2E09AA; Thu, 4 Aug 2016 14:11:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 713A5E09B2 for ; Thu, 4 Aug 2016 14:11:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27B223408EC for ; Thu, 4 Aug 2016 14:11:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCC2D2443 for ; Thu, 4 Aug 2016 14:11:28 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1470319870.774151db1c8bf23e3e0fbc65b418d60c48f775c5.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/kde5.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 774151db1c8bf23e3e0fbc65b418d60c48f775c5 X-VCS-Branch: master Date: Thu, 4 Aug 2016 14:11:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7a0b434b-c76c-491a-8959-e8a244d0c5c1 X-Archives-Hash: 577d30daf8ecab9dd00218a818ac33fb commit: 774151db1c8bf23e3e0fbc65b418d60c48f775c5 Author: Andreas Sturmlechner gmail com> AuthorDate: Wed Aug 3 13:04:27 2016 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Thu Aug 4 14:11:10 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=774151db kde5.eclass: Fix doc install if LINGUAS is undefined eclass/kde5.eclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 613f724..bba12d0 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -522,6 +522,7 @@ EOF # when required if [[ -d po && -v LINGUAS ]] ; then pushd po > /dev/null || die + local lang for lang in *; do if [[ -d ${lang} ]] && ! has ${lang} ${LINGUAS} ; then rm -r ${lang} || die @@ -537,9 +538,10 @@ EOF popd > /dev/null || die fi - if [[ ${KDE_BUILD_TYPE} = release ]] ; then - if [[ ${KDE_HANDBOOK} != false && -d ${KDE_DOC_DIR} && ${CATEGORY} != kde-apps ]] ; then + if [[ ${KDE_BUILD_TYPE} = release && ${CATEGORY} != kde-apps ]] ; then + if [[ ${KDE_HANDBOOK} != false && -d ${KDE_DOC_DIR} && -v LINGUAS ]] ; then pushd ${KDE_DOC_DIR} > /dev/null || die + local lang for lang in *; do if ! has ${lang} ${LINGUAS} ; then cmake_comment_add_subdirectory ${lang}