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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SECTION = "console/utils"
HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages"
LICENSE = "GPLv2+"
-PR = "r0"
+PR = "r1"
LIC_FILES_CHKSUM = "file://README;md5=0422377a748010b2b738342e24f141c1"
SRC_URI = "${KERNELORG_MIRROR}/linux/docs/man-pages/Archive/${BPN}-${PV}.tar.gz"
RDEPENDS_${PN} = "man"
-do_configure_prepend() {
- rm -rf not_installed
-}
-
do_configure () {
- :
+ :
}
do_compile() {
- oe_runmake -f Makefile DESTDIR=${D} MANDIR=${D}${mandir}
+ :
}
-fakeroot do_install() {
+do_install() {
oe_runmake install DESTDIR=${D}
}