From: Graham Gower Date: Thu, 2 Dec 2010 00:56:26 +0000 (+1030) Subject: fbset_2.1.bb: Use ${sbindir} and ${datadir} instead of hardcoding. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78852c8af464c4328118d4001f9908a8d38c8079;p=openembedded.git fbset_2.1.bb: Use ${sbindir} and ${datadir} instead of hardcoding. This ensures that the fbset package is non-empty for DISTRO=micro. Signed-off-by: Graham Gower Acked-by: Khem Raj --- diff --git a/recipes/fbset/fbset_2.1.bb b/recipes/fbset/fbset_2.1.bb index 04ea35f29b..ad02fa9879 100644 --- a/recipes/fbset/fbset_2.1.bb +++ b/recipes/fbset/fbset_2.1.bb @@ -20,10 +20,10 @@ inherit autotools update-alternatives PARALLEL_MAKE = "" do_install() { - install -d ${D}/usr/sbin ${D}/usr/share/man/man8 ${D}/usr/share/man/man5 - install -m 0755 ${WORKDIR}/${P}/fbset ${D}/usr/sbin/fbset.real - install -m 0644 ${WORKDIR}/${P}/*.5 ${D}/usr/share/man/man5 - install -m 0644 ${WORKDIR}/${P}/*.8 ${D}/usr/share/man/man8 + install -d ${D}${sbindir} ${D}${datadir}/man/man8 ${D}${datadir}/man/man5 + install -m 0755 ${WORKDIR}/${P}/fbset ${D}${sbindir}/fbset.real + install -m 0644 ${WORKDIR}/${P}/*.5 ${D}${datadir}/man/man5 + install -m 0644 ${WORKDIR}/${P}/*.8 ${D}${datadir}/man/man8 } ALTERNATIVE_NAME = "fbset"