commit:     645a050c65d6c471367d04bd72227c3550078af0
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 15 20:35:01 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Sep 15 20:35:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=645a050c

dev-ml/dune: drop /usr/share/doc/dune

Closes: https://bugs.gentoo.org/961744
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/dune/dune-3.19.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ml/dune/dune-3.19.1.ebuild b/dev-ml/dune/dune-3.19.1.ebuild
index 4e8619966de3..7b36c9af5f8e 100644
--- a/dev-ml/dune/dune-3.19.1.ebuild
+++ b/dev-ml/dune/dune-3.19.1.ebuild
@@ -55,14 +55,14 @@ src_compile() {
 }
 
 src_install() {
+       DOCS=( README.md CHANGES.md )
        # OCaml generates textrels on 32-bit arches
        if use arm || use ppc || use x86 ; then
                export QA_TEXTRELS='.*'
        fi
        default
 
-       mv "${ED}"/usr/share/doc/dune "${ED}"/usr/share/doc/${PF} || die
-
+       rm -r "${ED}"/usr/share/doc/dune
        if use emacs ; then
                elisp-install ${PN} editor-integration/emacs/*.el{,c}
                elisp-site-file-install "${FILESDIR}/${SITEFILE}"

Reply via email to