aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-11-28 08:22:11 +0100
committerJustin Lecher <jlec@gentoo.org>2012-11-28 08:22:11 +0100
commite53156f9c955a50c22dbde620261afae7944e75a (patch)
tree8cddfcb4cae358430621f7f317e89afc435d90eb /eclass/intel-sdp.eclass
parentintel-sdp.eclass: fix install on x86 + qa (diff)
downloadsci-e53156f9c955a50c22dbde620261afae7944e75a.tar.gz
sci-e53156f9c955a50c22dbde620261afae7944e75a.tar.bz2
sci-e53156f9c955a50c22dbde620261afae7944e75a.zip
Only handle documentation if present
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass/intel-sdp.eclass')
-rw-r--r--eclass/intel-sdp.eclass10
1 files changed, 6 insertions, 4 deletions
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index 6952516be..badb68b09 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