commit:     5b4746d280a14730544877179beeffd0199a9283
Author:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 14 19:23:28 2020 +0000
Commit:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Wed Jul 15 16:53:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4746d2

dev-python/sentry-sdk: doc creation and installation adapted, also fixed QA 
violations

Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/16175
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>

 sci-libs/octomap/octomap-1.9.5.ebuild | 26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)

diff --git a/sci-libs/octomap/octomap-1.9.5.ebuild 
b/sci-libs/octomap/octomap-1.9.5.ebuild
index 38cae5f6770..230100c8176 100644
--- a/sci-libs/octomap/octomap-1.9.5.ebuild
+++ b/sci-libs/octomap/octomap-1.9.5.ebuild
@@ -54,29 +54,23 @@ src_configure() {
 
 src_compile() {
        cmake_src_compile
-       if use doc ; then
-               cd "${BUILD_DIR}/octomap"
-               emake docs
-               if use dynamicEDT3D ; then
-                       cd "${BUILD_DIR}/dynamicEDT3D"
-                       emake docs_dynamicEDT3D
-               fi
-       fi
+       use doc && cmake_build docs docs_dynamicEDT3D
 }
 
 src_install() {
        cmake_src_install
-       if use doc ; then
-               insinto /usr/share/doc/${PF}/html/octomap
-               doins -r "${S}/octomap/doc/html/"*
-               if use dynamicEDT3D ; then
-                       insinto /usr/share/doc/${PF}/html/dynamicEDT3D
-                       doins -r "${S}/dynamicEDT3D/doc/html/"*
-               fi
+
+       if use doc; then
+               docinto html/octomap
+               dodoc -r octomap/doc/html/*
+
+               docinto html/dynamicEDT3D
+               dodoc -r dynamicEDT3D/doc/html/*
        fi
 
-       insinto /usr/share/ros_packages/${PN}
+  insinto /usr/share/ros_packages/${PN}
        doins "${ED}/usr/share/${PN}/package.xml"
+
        if use qt5; then
                insinto /usr/share/ros_packages/octovis
                doins "${ED}/usr/share/octovis/package.xml"

Reply via email to