commit: ebf4563dcef11d3321d9f162a7e6e8bf6bff025d Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> AuthorDate: Wed Feb 17 18:07:24 2016 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Thu Feb 18 14:23:56 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=ebf4563d
kde-apps/kleopatra: Add handbook from kdepim/doc subdirectory Package-Manager: portage-2.2.27 kde-apps/kleopatra/kleopatra-9999.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kde-apps/kleopatra/kleopatra-9999.ebuild b/kde-apps/kleopatra/kleopatra-9999.ebuild index ab3879f..e82ff84 100644 --- a/kde-apps/kleopatra/kleopatra-9999.ebuild +++ b/kde-apps/kleopatra/kleopatra-9999.ebuild @@ -4,6 +4,7 @@ EAPI=6 +KDE_HANDBOOK="true" KDE_TEST="true" KMNAME="kdepim" VIRTUALX_REQUIRED="test" @@ -57,3 +58,10 @@ if [[ ${KDE_BUILD_TYPE} = live ]] ; then else S="${WORKDIR}/${KMNAME}-${PV}/${PN}" fi + +src_prepare() { + mv "${WORKDIR}/${P}/doc/${PN}" doc || die "Failed to move handbook" + echo "add_subdirectory(doc)" >> CMakeLists.txt || die "Failed to add doc dir" + + kde5_src_prepare +}