diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-02-10 14:17:37 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-14 08:41:00 +0000 |
commit | 9aafb028313b185250b518bfa28bbfdca3183b1a (patch) | |
tree | ec86fcb31c61df9a66e3afbe07e1d4553373f49a /meta/recipes-devtools/git/git.inc | |
parent | af7fc22af08f758880a57139d392ef06678d9382 (diff) | |
download | poky-9aafb028313b185250b518bfa28bbfdca3183b1a.tar.gz |
git: expand recipe to take advantage of pre-gen'd manpages
These could be created from scratch from git itself, but it
requires asciidoc, xsltproc, python bits and too much other
baggage. Since the git folks issue a tarball with the manpages
for each release, it is simpler to just go get that.
(From OE-Core rev: 9aba4bf2143c228d58aac06764f87ace5dd21d02)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
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/git.inc')
-rw-r--r-- | meta/recipes-devtools/git/git.inc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc index 5396628790..ace1790a02 100644 --- a/meta/recipes-devtools/git/git.inc +++ b/meta/recipes-devtools/git/git.inc | |||
@@ -5,7 +5,9 @@ DEPENDS = "openssl curl zlib expat" | |||
5 | 5 | ||
6 | PROVIDES_append_class-native = " git-replacement-native" | 6 | PROVIDES_append_class-native = " git-replacement-native" |
7 | 7 | ||
8 | SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz" | 8 | SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \ |
9 | ${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages" | ||
10 | |||
9 | S = "${WORKDIR}/git-${PV}" | 11 | S = "${WORKDIR}/git-${PV}" |
10 | 12 | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1" | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1" |
@@ -30,6 +32,12 @@ do_install () { | |||
30 | oe_runmake install DESTDIR="${D}" bindir=${bindir} \ | 32 | oe_runmake install DESTDIR="${D}" bindir=${bindir} \ |
31 | template_dir=${datadir}/git-core/templates \ | 33 | template_dir=${datadir}/git-core/templates \ |
32 | GIT_PYTHON_DIR=${D}${datadir}/git-core/python | 34 | GIT_PYTHON_DIR=${D}${datadir}/git-core/python |
35 | install -d ${D}/${mandir}/man1 | ||
36 | install -d ${D}/${mandir}/man5 | ||
37 | install -d ${D}/${mandir}/man7 | ||
38 | install -t ${D}/${mandir}/man1 ${WORKDIR}/man1/* | ||
39 | install -t ${D}/${mandir}/man5 ${WORKDIR}/man5/* | ||
40 | install -t ${D}/${mandir}/man7 ${WORKDIR}/man7/* | ||
33 | } | 41 | } |
34 | 42 | ||
35 | perl_native_fixup () { | 43 | perl_native_fixup () { |