]> code.ossystems Code Review - openembedded-core.git/commitdiff
bison-native: Use STAGING_DATADIR
authorRichard Purdie <richard@openedhand.com>
Sun, 21 Oct 2007 21:51:48 +0000 (21:51 +0000)
committerRichard Purdie <richard@openedhand.com>
Sun, 21 Oct 2007 21:51:48 +0000 (21:51 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2946 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/bison/bison-native_2.0.bb

index db2b0b968356bb0bfa6b69524ba70c140da56977..760295db6d05169dc0ea35c110ddece26a667b51 100644 (file)
@@ -15,7 +15,7 @@ do_stage() {
 exec ${STAGING_BINDIR}/bison -y "\$@"
 EOF
        chmod a+rx ${STAGING_BINDIR}/yacc
-       install -d ${STAGING_BINDIR}/../share/bison/m4sugar
-       install -m 0755 data/c.m4 data/glr.c data/lalr1.cc data/yacc.c ${STAGING_BINDIR}/../share/bison/
-       install -m 0755 data/m4sugar/m4sugar.m4 ${STAGING_BINDIR}/../share/bison/m4sugar/
+       install -d ${STAGING_DATADIR}/bison/m4sugar
+       install -m 0755 data/c.m4 data/glr.c data/lalr1.cc data/yacc.c ${STAGING_DATADIR}/bison/
+       install -m 0755 data/m4sugar/m4sugar.m4 ${STAGING_DATADIR}/bison/m4sugar/
 }