summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/hypre/hypre-2.18.0.ebuild4
-rw-r--r--sci-libs/hypre/hypre-2.18.2.ebuild3
2 files changed, 3 insertions, 4 deletions
diff --git a/sci-libs/hypre/hypre-2.18.0.ebuild b/sci-libs/hypre/hypre-2.18.0.ebuild
index e8e6dd2d154a..7f9dd4cc4b14 100644
--- a/sci-libs/hypre/hypre-2.18.0.ebuild
+++ b/sci-libs/hypre/hypre-2.18.0.ebuild
@@ -94,8 +94,8 @@ src_install() {
HYPRE_INSTALL_DIR="${ED}" \
HYPRE_LIB_INSTALL="${ED}/usr/$(get_libdir)" \
HYPRE_INC_INSTALL="${ED}$/usr/include/hypre"
+
if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r src/examples
+ dodoc -r src/examples
fi
}
diff --git a/sci-libs/hypre/hypre-2.18.2.ebuild b/sci-libs/hypre/hypre-2.18.2.ebuild
index e8e6dd2d154a..6a972afc092d 100644
--- a/sci-libs/hypre/hypre-2.18.2.ebuild
+++ b/sci-libs/hypre/hypre-2.18.2.ebuild
@@ -95,7 +95,6 @@ src_install() {
HYPRE_LIB_INSTALL="${ED}/usr/$(get_libdir)" \
HYPRE_INC_INSTALL="${ED}$/usr/include/hypre"
if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r src/examples
+ dodoc -r src/examples
fi
}