commit: b58e86d7a900f0bec9fc4e994928782074d94b18
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 10:39:37 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 10:39:37 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=b58e86d7
kde-apps/libkcddb: Use cmake_run_in
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-apps/libkcddb/libkcddb-20.12.49.9999.ebuild | 7 +------
kde-apps/libkcddb/libkcddb-9999.ebuild | 7 +------
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/kde-apps/libkcddb/libkcddb-20.12.49.9999.ebuild
b/kde-apps/libkcddb/libkcddb-20.12.49.9999.ebuild
index 43eb73f470..3a9e6cfdbf 100644
--- a/kde-apps/libkcddb/libkcddb-20.12.49.9999.ebuild
+++ b/kde-apps/libkcddb/libkcddb-20.12.49.9999.ebuild
@@ -38,12 +38,7 @@ PATCHES=( "${FILESDIR}/${PN}-20.12.1-unused-dep.patch" )
src_prepare() {
ecm_src_prepare
-
- if ! use handbook ; then
- pushd kcmcddb > /dev/null
- cmake_comment_add_subdirectory doc
- popd > /dev/null
- fi
+ use handbook || cmake_run_in kcmcddb cmake_comment_add_subdirectory doc
}
src_configure() {
diff --git a/kde-apps/libkcddb/libkcddb-9999.ebuild
b/kde-apps/libkcddb/libkcddb-9999.ebuild
index 59e885bf55..ba517c4901 100644
--- a/kde-apps/libkcddb/libkcddb-9999.ebuild
+++ b/kde-apps/libkcddb/libkcddb-9999.ebuild
@@ -36,12 +36,7 @@ RESTRICT+=" test"
src_prepare() {
ecm_src_prepare
-
- if ! use handbook ; then
- pushd kcmcddb > /dev/null
- cmake_comment_add_subdirectory doc
- popd > /dev/null
- fi
+ use handbook || cmake_run_in kcmcddb cmake_comment_add_subdirectory doc
}
src_configure() {