ruby-fakegem.eclass: use dodoc to install documentation files
authorHans de Graaff <graaff@gentoo.org>
Sun, 16 Jul 2017 08:30:21 +0000 (10:30 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sun, 16 Jul 2017 08:30:21 +0000 (10:30 +0200)
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

index 3c10e577a411660b9a7311451a90c6be441b409f..2bdba3630ad2e01f73d6b689cfadb2e8aa42c947 100644 (file)
@@ -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