summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/git
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-10-31 10:57:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-31 16:09:35 +0000
commit5c5a58d25582d047fdaa1946fd65a68fbb919723 (patch)
treea46cdf1b82420a3821503250c2a8f15e954e4cd2 /meta/recipes-devtools/git
parent116e9519b6b2a21d8d0f153fa3ec8cc4483ba528 (diff)
downloadpoky-5c5a58d25582d047fdaa1946fd65a68fbb919723.tar.gz
git: cleanup man install
Prettify by using shell loops. (From OE-Core rev: edb7f0adc6b0846c118ea262bbfaf46050c03fb4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/git')
-rw-r--r--meta/recipes-devtools/git/git.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 67fc96b7af..95ab397f6a 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -39,12 +39,12 @@ do_compile_prepend () {
39do_install () { 39do_install () {
40 oe_runmake install DESTDIR="${D}" bindir=${bindir} \ 40 oe_runmake install DESTDIR="${D}" bindir=${bindir} \
41 template_dir=${datadir}/git-core/templates 41 template_dir=${datadir}/git-core/templates
42 install -d ${D}/${mandir}/man1 42
43 install -d ${D}/${mandir}/man5 43 for section in man1 man5 man7; do
44 install -d ${D}/${mandir}/man7 44 install -d ${D}/${mandir}/$section
45 install -t ${D}/${mandir}/man1 ${WORKDIR}/man1/* 45 install -t ${D}/${mandir}/$section ${WORKDIR}/$section/*
46 install -t ${D}/${mandir}/man5 ${WORKDIR}/man5/* 46 done
47 install -t ${D}/${mandir}/man7 ${WORKDIR}/man7/* 47
48 install -d ${D}/${datadir}/bash-completion/completions/ 48 install -d ${D}/${datadir}/bash-completion/completions/
49 install -m 644 ${S}/contrib/completion/git-completion.bash ${D}/${datadir}/bash-completion/completions/git 49 install -m 644 ${S}/contrib/completion/git-completion.bash ${D}/${datadir}/bash-completion/completions/git
50} 50}