app-emacs/org-mode: Use dodoc -r instead of doins -r.
authorUlrich Müller <ulm@gentoo.org>
Mon, 11 Nov 2019 12:49:08 +0000 (13:49 +0100)
committerUlrich Müller <ulm@gentoo.org>
Mon, 11 Nov 2019 12:49:33 +0000 (13:49 +0100)
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
app-emacs/org-mode/org-mode-8.3.2-r1.ebuild
app-emacs/org-mode/org-mode-9.2.6.ebuild

index cb1d2160a7691e38d788cbf341702b836deba51c..3c74d138b5998eafd9f1168e8622ccb065ec0115 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -38,8 +38,7 @@ src_install() {
 
        if use contrib; then
                elisp-install ${PN}/contrib contrib/lisp/{org,ob,ox}*.el
-               insinto /usr/share/doc/${PF}/contrib
-               doins -r contrib/README contrib/scripts
+               ( docinto contrib; dodoc -r contrib/README contrib/scripts )
                find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
                        -exec rm -f '{}' '+'
                # add the contrib subdirectory to load-path
index 006ef0715c13c6282cdc35a2f7bad6c433ade5e3..78704a2011928d167a18a2c7dde41745c277cb0b 100644 (file)
@@ -39,8 +39,7 @@ src_install() {
 
        if use contrib; then
                elisp-install ${PN}/contrib contrib/lisp/{org,ob,ox}*.el
-               insinto /usr/share/doc/${PF}/contrib
-               doins -r contrib/README contrib/scripts
+               ( docinto contrib; dodoc -r contrib/README contrib/scripts )
                find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
                        -exec rm -f '{}' '+'
                # add the contrib subdirectory to load-path