app-shells/zsh: fix BadInsIntoDir QA issues
authorTim Harder <radhermit@gentoo.org>
Wed, 18 Sep 2019 23:23:29 +0000 (17:23 -0600)
committerTim Harder <radhermit@gentoo.org>
Wed, 18 Sep 2019 23:29:24 +0000 (17:29 -0600)
Signed-off-by: Tim Harder <radhermit@gentoo.org>
app-shells/zsh/zsh-5.6.2.ebuild
app-shells/zsh/zsh-5.7.1.ebuild
app-shells/zsh/zsh-9999.ebuild

index dbbb337d6e9643edac20444f5e90fa94a3748b8c..09315ecb9b23e7eb05503bdff124facfedbb8bd1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -171,10 +171,9 @@ src_install() {
 
        if use doc ; then
                pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+               dodoc Doc/zsh.{dvi,pdf}
                docinto html
                dodoc Doc/*.html
-               insinto /usr/share/doc/${PF}
-               doins Doc/zsh.{dvi,pdf}
                popd >/dev/null
        fi
 
index 103eb4abf6a4a76e4c05982d06c0269c91b89bbe..03b1e1d455311d901ad61b8a64b675c6be3fa1b0 100644 (file)
@@ -176,10 +176,9 @@ src_install() {
 
        if use doc ; then
                pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+               dodoc Doc/zsh.{dvi,pdf}
                docinto html
                dodoc Doc/*.html
-               insinto /usr/share/doc/${PF}
-               doins Doc/zsh.{dvi,pdf}
                popd >/dev/null
        fi
 
index 7455f193772941e97093fd745306027bce3dab5e..2d05ce7a473d2cb3ca07ba1a25d75ba91396dbc0 100644 (file)
@@ -175,10 +175,9 @@ src_install() {
 
        if use doc ; then
                pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+               dodoc Doc/zsh.{dvi,pdf}
                docinto html
                dodoc Doc/*.html
-               insinto /usr/share/doc/${PF}
-               doins Doc/zsh.{dvi,pdf}
                popd >/dev/null
        fi