commit:     a16e241dddc59b7b2071b37eb6ac016cd4f7ffa3
Author:     Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Tue Oct  5 00:04:01 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 12 20:24:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a16e241d

dev-cpp/gtest: change docs location

Documentation can now be found at the toplevel docs directory.  Also,
correct the extra README.md locations without creating unnecessary
subdirectories.

Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/gtest/gtest-9999.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild
index f66765b6396..89518bffd1d 100644
--- a/dev-cpp/gtest/gtest-9999.ebuild
+++ b/dev-cpp/gtest/gtest-9999.ebuild
@@ -66,12 +66,10 @@ multilib_src_configure() {
 multilib_src_install_all() {
        einstalldocs
 
-       if use doc; then
-               docinto googletest
-               dodoc -r googletest/docs/.
-               docinto googlemock
-               dodoc -r googlemock/docs/.
-       fi
+       newdoc googletest/README.md README.googletest.md
+       newdoc googlemock/README.md README.googlemock.md
+
+       use doc && dodoc -r docs/.
 
        if use examples; then
                docinto examples

Reply via email to