[oe-commits] Graham Gower : fbset_2.1.bb: Use ${sbindir} and ${datadir} instead of hardcoding.

git version control git at git.openembedded.org
Thu Dec 2 15:48:46 UTC 2010


Module: openembedded.git
Branch: master
Commit: caa437694c3debc20df8a0db76cd199c621b732b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=caa437694c3debc20df8a0db76cd199c621b732b

Author: Graham Gower <graham.gower at gmail.com>
Date:   Thu Dec  2 11:44:26 2010 +1030

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 <graham.gower at gmail.com>
Acked-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/fbset/fbset_2.1.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes/fbset/fbset_2.1.bb b/recipes/fbset/fbset_2.1.bb
index 04ea35f..ad02fa9 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"





More information about the Openembedded-commits mailing list