From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 51E721381F3 for ; Wed, 28 Nov 2012 07:22:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5C3F21C05E; Wed, 28 Nov 2012 07:22:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C97021C05E for ; Wed, 28 Nov 2012 07:22:44 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1BBFE33D9D3 for ; Wed, 28 Nov 2012 07:22:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 786BFE5436 for ; Wed, 28 Nov 2012 07:22:41 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1354087331.e53156f9c955a50c22dbde620261afae7944e75a.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: eclass/ X-VCS-Repository: proj/sci X-VCS-Files: eclass/intel-sdp.eclass X-VCS-Directories: eclass/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: e53156f9c955a50c22dbde620261afae7944e75a X-VCS-Branch: master Date: Wed, 28 Nov 2012 07:22:41 +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: fb3b803c-4e36-4421-ad29-e1f555ee3081 X-Archives-Hash: 858a63b221ca918870856f6ab7469635 commit: e53156f9c955a50c22dbde620261afae7944e75a Author: Justin Lecher gentoo org> AuthorDate: Wed Nov 28 07:22:11 2012 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Nov 28 07:22:11 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e53156f9 Only handle documentation if present Signed-off-by: Justin Lecher gentoo.org> --- eclass/intel-sdp.eclass | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass index 6952516..badb68b 100644 --- a/eclass/intel-sdp.eclass +++ b/eclass/intel-sdp.eclass @@ -326,11 +326,13 @@ intel-sdp_src_unpack() { # @DESCRIPTION: # Install everything intel-sdp_src_install() { - dodoc -r "${INTEL_SDP_DIR}"/Documentation/* + if [[ -d "${INTEL_SDP_DIR}"/Documentation ]]; then + dodoc -r "${INTEL_SDP_DIR}"/Documentation/* - ebegin "Cleaning out documentation" - find "${INTEL_SDP_DIR}"/Documentation -delete || die - eend + ebegin "Cleaning out documentation" + find "${INTEL_SDP_DIR}"/Documentation -delete || die + eend + fi if [[ -d "${INTEL_SDP_DIR}"/Samples ]]; then if use examples ; then