diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-15 16:32:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-15 17:31:59 +0100 |
commit | dcaea1447c1a67180a4ea56e3005f8015b2d021b (patch) | |
tree | 9621091a612c79d7e0356d20e084390fe2f9d850 /meta/recipes-extended | |
parent | f562e2a393d69312281ceda1d2b2b0af03a8c8b5 (diff) | |
download | poky-dcaea1447c1a67180a4ea56e3005f8015b2d021b.tar.gz |
man-pages: Fix to allow re-execution of tasks
The all target in the makefile triggers "screen" and "remove" targets,
neither of which do anything useful/sane for our usecases. The simplest
way to get the makefile to behave is to only use the install target.
Clean up the recipe a bit whilst making these changes and simplify things.
[YOCTO #2194]
(From OE-Core rev: 06f6ca50c0cffdaf828688e01fcc70265eafa093)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/man-pages/man-pages_3.36.bb | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/meta/recipes-extended/man-pages/man-pages_3.36.bb b/meta/recipes-extended/man-pages/man-pages_3.36.bb index 4e888dc07e..6025a87575 100644 --- a/meta/recipes-extended/man-pages/man-pages_3.36.bb +++ b/meta/recipes-extended/man-pages/man-pages_3.36.bb | |||
@@ -3,7 +3,7 @@ DESCRIPTION = "The Linux man-pages project documents the Linux kernel and C libr | |||
3 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
4 | HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages" | 4 | HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages" |
5 | LICENSE = "GPLv2+" | 5 | LICENSE = "GPLv2+" |
6 | PR = "r0" | 6 | PR = "r1" |
7 | 7 | ||
8 | LIC_FILES_CHKSUM = "file://README;md5=0422377a748010b2b738342e24f141c1" | 8 | LIC_FILES_CHKSUM = "file://README;md5=0422377a748010b2b738342e24f141c1" |
9 | SRC_URI = "${KERNELORG_MIRROR}/linux/docs/man-pages/Archive/${BPN}-${PV}.tar.gz" | 9 | SRC_URI = "${KERNELORG_MIRROR}/linux/docs/man-pages/Archive/${BPN}-${PV}.tar.gz" |
@@ -13,19 +13,15 @@ SRC_URI[sha256sum] = "c0575e31f73cd9dc2761c274217e06e7130fdfee510170957a9d72d012 | |||
13 | 13 | ||
14 | RDEPENDS_${PN} = "man" | 14 | RDEPENDS_${PN} = "man" |
15 | 15 | ||
16 | do_configure_prepend() { | ||
17 | rm -rf not_installed | ||
18 | } | ||
19 | |||
20 | do_configure () { | 16 | do_configure () { |
21 | : | 17 | : |
22 | } | 18 | } |
23 | 19 | ||
24 | do_compile() { | 20 | do_compile() { |
25 | oe_runmake -f Makefile DESTDIR=${D} MANDIR=${D}${mandir} | 21 | : |
26 | } | 22 | } |
27 | 23 | ||
28 | fakeroot do_install() { | 24 | do_install() { |
29 | oe_runmake install DESTDIR=${D} | 25 | oe_runmake install DESTDIR=${D} |
30 | } | 26 | } |
31 | 27 | ||