summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-15 16:32:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-15 17:31:59 +0100
commitdcaea1447c1a67180a4ea56e3005f8015b2d021b (patch)
tree9621091a612c79d7e0356d20e084390fe2f9d850
parentf562e2a393d69312281ceda1d2b2b0af03a8c8b5 (diff)
downloadpoky-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>
-rw-r--r--meta/recipes-extended/man-pages/man-pages_3.36.bb12
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
3SECTION = "console/utils" 3SECTION = "console/utils"
4HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages" 4HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages"
5LICENSE = "GPLv2+" 5LICENSE = "GPLv2+"
6PR = "r0" 6PR = "r1"
7 7
8LIC_FILES_CHKSUM = "file://README;md5=0422377a748010b2b738342e24f141c1" 8LIC_FILES_CHKSUM = "file://README;md5=0422377a748010b2b738342e24f141c1"
9SRC_URI = "${KERNELORG_MIRROR}/linux/docs/man-pages/Archive/${BPN}-${PV}.tar.gz" 9SRC_URI = "${KERNELORG_MIRROR}/linux/docs/man-pages/Archive/${BPN}-${PV}.tar.gz"
@@ -13,19 +13,15 @@ SRC_URI[sha256sum] = "c0575e31f73cd9dc2761c274217e06e7130fdfee510170957a9d72d012
13 13
14RDEPENDS_${PN} = "man" 14RDEPENDS_${PN} = "man"
15 15
16do_configure_prepend() {
17 rm -rf not_installed
18}
19
20do_configure () { 16do_configure () {
21 : 17 :
22} 18}
23 19
24do_compile() { 20do_compile() {
25 oe_runmake -f Makefile DESTDIR=${D} MANDIR=${D}${mandir} 21 :
26} 22}
27 23
28fakeroot do_install() { 24do_install() {
29 oe_runmake install DESTDIR=${D} 25 oe_runmake install DESTDIR=${D}
30} 26}
31 27