Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/
Date: Tue, 12 Oct 2021 20:24:22
Message-Id: 1634070249.a16e241dddc59b7b2071b37eb6ac016cd4f7ffa3.sam@gentoo
1 commit: a16e241dddc59b7b2071b37eb6ac016cd4f7ffa3
2 Author: Peter Levine <plevine457 <AT> gmail <DOT> com>
3 AuthorDate: Tue Oct 5 00:04:01 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 12 20:24:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a16e241d
7
8 dev-cpp/gtest: change docs location
9
10 Documentation can now be found at the toplevel docs directory. Also,
11 correct the extra README.md locations without creating unnecessary
12 subdirectories.
13
14 Package-Manager: Portage-3.0.26, Repoman-3.0.3
15 Signed-off-by: Peter Levine <plevine457 <AT> gmail.com>
16 Signed-off-by: Sam James <sam <AT> gentoo.org>
17
18 dev-cpp/gtest/gtest-9999.ebuild | 10 ++++------
19 1 file changed, 4 insertions(+), 6 deletions(-)
20
21 diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild
22 index f66765b6396..89518bffd1d 100644
23 --- a/dev-cpp/gtest/gtest-9999.ebuild
24 +++ b/dev-cpp/gtest/gtest-9999.ebuild
25 @@ -66,12 +66,10 @@ multilib_src_configure() {
26 multilib_src_install_all() {
27 einstalldocs
28
29 - if use doc; then
30 - docinto googletest
31 - dodoc -r googletest/docs/.
32 - docinto googlemock
33 - dodoc -r googlemock/docs/.
34 - fi
35 + newdoc googletest/README.md README.googletest.md
36 + newdoc googlemock/README.md README.googlemock.md
37 +
38 + use doc && dodoc -r docs/.
39
40 if use examples; then
41 docinto examples