diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-12-29 11:39:37 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-12-29 11:39:37 +0100 |
| commit | b58e86d7a900f0bec9fc4e994928782074d94b18 (patch) | |
| tree | db6cbf2a6fdbf5ab685b644669f35ea965ccbf9a | |
| parent | 57100d7e0efd70e09376c532da20d7c5d0adcc6c (diff) | |
| download | kde-b58e86d7a900f0bec9fc4e994928782074d94b18.tar.gz kde-b58e86d7a900f0bec9fc4e994928782074d94b18.tar.bz2 kde-b58e86d7a900f0bec9fc4e994928782074d94b18.zip | |
kde-apps/libkcddb: Use cmake_run_in
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
| -rw-r--r-- | kde-apps/libkcddb/libkcddb-20.12.49.9999.ebuild | 7 | ||||
| -rw-r--r-- | 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 43eb73f470b..3a9e6cfdbfb 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 59e885bf55a..ba517c4901b 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() { |
