commit:     73f5c11d2d76cf6016b4e7dced8fe36560672fc1
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 16 08:30:21 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 16 08:30:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f5c11d

ruby-fakegem.eclass: use dodoc to install documentation files

dohtml is deprecated in EAPI 6, but more importantly it does not
actually do what we want, which is to install all the documentation
files, including fonts, javascript, and css to make the documentation
pages look as intended.

 eclass/ruby-fakegem.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 3c10e577a41..2bdba3630ad 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -505,7 +505,7 @@ all_fakegem_install() {
                        [[ -d ${dir} ]] || continue
 
                        pushd ${dir} &>/dev/null || die
-                       dohtml -r * || die "failed to install documentation"
+                       dodoc -r * || die "failed to install documentation"
                        popd &>/dev/null || die
                done
        fi

Reply via email to