mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
116e9519b6
commit
5c5a58d255
@@ -39,12 +39,12 @@ do_compile_prepend () {
|
||||
do_install () {
|
||||
oe_runmake install DESTDIR="${D}" bindir=${bindir} \
|
||||
template_dir=${datadir}/git-core/templates
|
||||
install -d ${D}/${mandir}/man1
|
||||
install -d ${D}/${mandir}/man5
|
||||
install -d ${D}/${mandir}/man7
|
||||
install -t ${D}/${mandir}/man1 ${WORKDIR}/man1/*
|
||||
install -t ${D}/${mandir}/man5 ${WORKDIR}/man5/*
|
||||
install -t ${D}/${mandir}/man7 ${WORKDIR}/man7/*
|
||||
|
||||
for section in man1 man5 man7; do
|
||||
install -d ${D}/${mandir}/$section
|
||||
install -t ${D}/${mandir}/$section ${WORKDIR}/$section/*
|
||||
done
|
||||
|
||||
install -d ${D}/${datadir}/bash-completion/completions/
|
||||
install -m 644 ${S}/contrib/completion/git-completion.bash ${D}/${datadir}/bash-completion/completions/git
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user