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/manhfreyther/master-next
parent
40075f5141
commit
336c4212e5
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue