commit:     f25673cb438becfd497d3ef2eb00a5580918745b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 14 18:33:51 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 14 18:33:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f25673cb

dev-vcs/git: improve doc handling (already) in 2.49.0

... as foretold in 724de2ccb5756cf13ae3ae16a37ed0f60488a338, though
it came up sooner than I expected. The .txts were renamed to .adoc.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/git/git-2.49.0.ebuild  | 7 +++++++
 dev-vcs/git/git-9999-r1.ebuild | 7 +++++++
 dev-vcs/git/git-9999-r2.ebuild | 7 +++++++
 dev-vcs/git/git-9999-r3.ebuild | 7 +++++++
 dev-vcs/git/git-9999.ebuild    | 7 +++++++
 5 files changed, 35 insertions(+)

diff --git a/dev-vcs/git/git-2.49.0.ebuild b/dev-vcs/git/git-2.49.0.ebuild
index c01f7afe963b..133f0889e801 100644
--- a/dev-vcs/git/git-2.49.0.ebuild
+++ b/dev-vcs/git/git-2.49.0.ebuild
@@ -329,6 +329,13 @@ src_install() {
        find Documentation/*.[157] >/dev/null 2>&1 && doman 
Documentation/*.[157]
        dodoc README* Documentation/{SubmittingPatches,CodingGuidelines}
 
+       local d
+       for d in / /howto/ /technical/ ; do
+               docinto ${d}
+               dodoc Documentation${d}*.adoc
+       done
+       docinto /
+
        newbashcomp contrib/completion/git-completion.bash ${PN}
        bashcomp_alias git gitk
        # Not really a bash-completion file (bug #477920)

diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild
index c01f7afe963b..133f0889e801 100644
--- a/dev-vcs/git/git-9999-r1.ebuild
+++ b/dev-vcs/git/git-9999-r1.ebuild
@@ -329,6 +329,13 @@ src_install() {
        find Documentation/*.[157] >/dev/null 2>&1 && doman 
Documentation/*.[157]
        dodoc README* Documentation/{SubmittingPatches,CodingGuidelines}
 
+       local d
+       for d in / /howto/ /technical/ ; do
+               docinto ${d}
+               dodoc Documentation${d}*.adoc
+       done
+       docinto /
+
        newbashcomp contrib/completion/git-completion.bash ${PN}
        bashcomp_alias git gitk
        # Not really a bash-completion file (bug #477920)

diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild
index c01f7afe963b..133f0889e801 100644
--- a/dev-vcs/git/git-9999-r2.ebuild
+++ b/dev-vcs/git/git-9999-r2.ebuild
@@ -329,6 +329,13 @@ src_install() {
        find Documentation/*.[157] >/dev/null 2>&1 && doman 
Documentation/*.[157]
        dodoc README* Documentation/{SubmittingPatches,CodingGuidelines}
 
+       local d
+       for d in / /howto/ /technical/ ; do
+               docinto ${d}
+               dodoc Documentation${d}*.adoc
+       done
+       docinto /
+
        newbashcomp contrib/completion/git-completion.bash ${PN}
        bashcomp_alias git gitk
        # Not really a bash-completion file (bug #477920)

diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild
index c01f7afe963b..133f0889e801 100644
--- a/dev-vcs/git/git-9999-r3.ebuild
+++ b/dev-vcs/git/git-9999-r3.ebuild
@@ -329,6 +329,13 @@ src_install() {
        find Documentation/*.[157] >/dev/null 2>&1 && doman 
Documentation/*.[157]
        dodoc README* Documentation/{SubmittingPatches,CodingGuidelines}
 
+       local d
+       for d in / /howto/ /technical/ ; do
+               docinto ${d}
+               dodoc Documentation${d}*.adoc
+       done
+       docinto /
+
        newbashcomp contrib/completion/git-completion.bash ${PN}
        bashcomp_alias git gitk
        # Not really a bash-completion file (bug #477920)

diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild
index c01f7afe963b..133f0889e801 100644
--- a/dev-vcs/git/git-9999.ebuild
+++ b/dev-vcs/git/git-9999.ebuild
@@ -329,6 +329,13 @@ src_install() {
        find Documentation/*.[157] >/dev/null 2>&1 && doman 
Documentation/*.[157]
        dodoc README* Documentation/{SubmittingPatches,CodingGuidelines}
 
+       local d
+       for d in / /howto/ /technical/ ; do
+               docinto ${d}
+               dodoc Documentation${d}*.adoc
+       done
+       docinto /
+
        newbashcomp contrib/completion/git-completion.bash ${PN}
        bashcomp_alias git gitk
        # Not really a bash-completion file (bug #477920)

Reply via email to