media-libs/giflib: Fix USE doc
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 8 Mar 2020 21:05:15 +0000 (22:05 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 8 Mar 2020 21:22:41 +0000 (22:22 +0100)
Closes: https://bugs.gentoo.org/682118
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-libs/giflib/giflib-5.2.1-r1.ebuild

index 00d52ae80e36af2ef5fd9c1985509e7fca6bce10..cd9aca28ef2b95d3b280c647b5a5c945a8959c46 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -64,12 +64,11 @@ multilib_src_install() {
 }
 
 multilib_src_install_all() {
-       docinto
-       dodoc ChangeLog NEWS README TODO
+       local DOCS=( ChangeLog NEWS README TODO )
+       einstalldocs
        if use doc ; then
-               dodoc doc/*.txt
                docinto html
-               dodoc -r doc/whatsinagif
+               dodoc -r doc/{gifstandard,whatsinagif}
        fi
 }