Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: eclass/
Date: Wed, 28 Nov 2012 07:22:54
Message-Id: 1354087331.e53156f9c955a50c22dbde620261afae7944e75a.jlec@gentoo
1 commit: e53156f9c955a50c22dbde620261afae7944e75a
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 28 07:22:11 2012 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 28 07:22:11 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e53156f9
7
8 Only handle documentation if present
9
10 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
11
12 ---
13 eclass/intel-sdp.eclass | 10 ++++++----
14 1 files changed, 6 insertions(+), 4 deletions(-)
15
16 diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
17 index 6952516..badb68b 100644
18 --- a/eclass/intel-sdp.eclass
19 +++ b/eclass/intel-sdp.eclass
20 @@ -326,11 +326,13 @@ intel-sdp_src_unpack() {
21 # @DESCRIPTION:
22 # Install everything
23 intel-sdp_src_install() {
24 - dodoc -r "${INTEL_SDP_DIR}"/Documentation/*
25 + if [[ -d "${INTEL_SDP_DIR}"/Documentation ]]; then
26 + dodoc -r "${INTEL_SDP_DIR}"/Documentation/*
27
28 - ebegin "Cleaning out documentation"
29 - find "${INTEL_SDP_DIR}"/Documentation -delete || die
30 - eend
31 + ebegin "Cleaning out documentation"
32 + find "${INTEL_SDP_DIR}"/Documentation -delete || die
33 + eend
34 + fi
35
36 if [[ -d "${INTEL_SDP_DIR}"/Samples ]]; then
37 if use examples ; then