summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2020-06-14 21:23:28 +0200
committerDennis Lamm <expeditioneer@gentoo.org>2020-07-15 18:53:11 +0200
commit5b4746d280a14730544877179beeffd0199a9283 (patch)
tree2e02d35cb0f89a3c881fa44b29728a50c0122e3e /sci-libs
parentsci-libs/octomap: version bump 1.9.5 (diff)
downloadgentoo-5b4746d280a14730544877179beeffd0199a9283.tar.gz
gentoo-5b4746d280a14730544877179beeffd0199a9283.tar.bz2
gentoo-5b4746d280a14730544877179beeffd0199a9283.zip
dev-python/sentry-sdk: doc creation and installation adapted, also fixed QA violations
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/16175 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/octomap/octomap-1.9.5.ebuild26
1 files 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 38cae5f67707..230100c81764 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"