From 336c4212e5d20bf70a5a7e7d4bbd552c9857139c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 9 Feb 2013 11:04:43 +0100 Subject: [PATCH] lmsensors-apps: Ask lmsensors to install man pages to the right directory Ask the buildsystem to install the manpages to the mandir. This will avoid the following warning. WARNING: QA Issue: lmsensors-apps: Files/directories were installed but not shipped /usr/man --- recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb b/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb index 7aadb38..1dd8081 100644 --- a/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb +++ b/recipes-extra/lm_sensors/lmsensors-apps_3.2.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.lm-sensors.org/" DEPENDS = "sysfsutils virtual/libiconv" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -PR = "r4" +PR = "r5" DEPENDS = "bison-native flex-native" PACKAGE_ARCH = "${MACHINE_ARCH}" @@ -15,7 +15,8 @@ SRC_URI[sha256sum] = "bde7e1d8b473bca6528694b696668c4cd0a28515aef36b961e4f7d8a6b S = "${WORKDIR}/lm_sensors-${PV}" EXTRA_OEMAKE = 'LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" \ - MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" AR="${AR}"' + MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" AR="${AR}" \ + MANDIR="${mandir}"' do_compile() { oe_runmake user PROG_EXTRA=sensors @@ -23,11 +24,6 @@ do_compile() { do_install() { oe_runmake user_install DESTDIR=${D} - - # move manuals into proper place - install -d ${D}${mandir} - rm -rf ${D}${mandir}/* - mv ${D}/usr/man/* ${D}${mandir} } PACKAGES =+ "libsensors libsensors-dev libsensors-staticdev libsensors-dbg libsensors-doc"