Skip to content

Commit

Permalink
dev-python/sentry-sdk: doc creation and installation adapted, also fi…
Browse files Browse the repository at this point in the history
…xed QA violations

Signed-off-by: Dennis Lamm <[email protected]>
Closes: gentoo#16175
Signed-off-by: Dennis Lamm <[email protected]>
  • Loading branch information
expeditioneer committed Jul 15, 2020
1 parent a7b1a26 commit 5b4746d
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions sci-libs/octomap/octomap-1.9.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5b4746d

Please sign in to comment.