summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/git/git.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index ace1790a02..ddb1ceed99 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -38,6 +38,8 @@ do_install () {
38 install -t ${D}/${mandir}/man1 ${WORKDIR}/man1/* 38 install -t ${D}/${mandir}/man1 ${WORKDIR}/man1/*
39 install -t ${D}/${mandir}/man5 ${WORKDIR}/man5/* 39 install -t ${D}/${mandir}/man5 ${WORKDIR}/man5/*
40 install -t ${D}/${mandir}/man7 ${WORKDIR}/man7/* 40 install -t ${D}/${mandir}/man7 ${WORKDIR}/man7/*
41 install -d ${D}/${datadir}/bash-completion/completions/
42 install -m 644 ${S}/contrib/completion/git-completion.bash ${D}/${datadir}/bash-completion/completions/git
41} 43}
42 44
43perl_native_fixup () { 45perl_native_fixup () {
@@ -94,6 +96,10 @@ PERLTOOLS = " \
94 ${datadir}/git-core/templates/hooks/pre-rebase.sample \ 96 ${datadir}/git-core/templates/hooks/pre-rebase.sample \
95" 97"
96 98
99# Basic tab completion support
100PACKAGES =+ "${PN}-bash-completion"
101FILES_${PN}-bash-completion = "${datadir}/bash-completion/completions/*"
102
97# Git tools requiring perl 103# Git tools requiring perl
98PACKAGES =+ "${PN}-perltools" 104PACKAGES =+ "${PN}-perltools"
99FILES_${PN}-perltools += " \ 105FILES_${PN}-perltools += " \