From f25673cb438becfd497d3ef2eb00a5580918745b Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 14 Mar 2025 18:33:51 +0000 Subject: [PATCH] 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 --- 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 c01f7afe963b5..133f0889e801f 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 c01f7afe963b5..133f0889e801f 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 c01f7afe963b5..133f0889e801f 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 c01f7afe963b5..133f0889e801f 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 c01f7afe963b5..133f0889e801f 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)