summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-08-26 18:09:53 -0600
committerJohannes Huber <johu@gentoo.org>2012-09-05 23:28:48 +0200
commit5371d54aec29e4610e65ad1da052b6da423d633c (patch)
tree2d067e9f2440b1684d11ed8a1b7903079854df3d /eclass
parenta6887a198130022310d45c8b99f6eab562862607 (diff)
downloadkde-5371d54aec29e4610e65ad1da052b6da423d633c.tar.gz
kde-5371d54aec29e4610e65ad1da052b6da423d633c.tar.bz2
kde-5371d54aec29e4610e65ad1da052b6da423d633c.zip
[eclass] fixed install with ninja
Signed-off-by: Johannes Huber <johu@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake-utils.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index a0f6e6ba1e3..5ed4980c81d 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -446,7 +446,8 @@ enable_cmake-utils_src_install() {
_check_build_dir
pushd "${CMAKE_BUILD_DIR}" > /dev/null
if [[ $(_generator_to_use) = Ninja ]]; then
- DESTDIR=${D} ninja install "$@"
+ DESTDIR=${D} ninja install "$@" || die "died running ninja install"
+ base_src_install_docs
else
base_src_install "$@"
fi