]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools.bbclass: Reference STAGING_DATADIR
authorRichard Purdie <richard@openedhand.com>
Mon, 29 Oct 2007 15:09:46 +0000 (15:09 +0000)
committerRichard Purdie <richard@openedhand.com>
Mon, 29 Oct 2007 15:09:46 +0000 (15:09 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3016 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/autotools.bbclass

index fccf2b6d80cff58a588bc219f8c98c4ab45341f1..8e4fba9400046a26f20b612eaf7b7f4909b7b1d9 100644 (file)
@@ -97,9 +97,9 @@ autotools_do_configure() {
                        AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"`
                        automake --version
                        echo "AUTOV is $AUTOV"
-                       install -d ${STAGING_DIR}/${HOST_SYS}/share/aclocal
-                       install -d ${STAGING_DIR}/${HOST_SYS}/share/aclocal-$AUTOV
-                       acpaths="$acpaths -I ${STAGING_DIR}/${HOST_SYS}/share/aclocal-$AUTOV -I ${STAGING_DIR}/${HOST_SYS}/share/aclocal"
+                       install -d ${STAGING_DATADIR}/aclocal
+                       install -d ${STAGING_DATADIR}/aclocal-$AUTOV
+                       acpaths="$acpaths -I${STAGING_DATADIR}/aclocal-$AUTOV -I ${STAGING_DATADIR}/aclocal"
                        # autoreconf is too shy to overwrite aclocal.m4 if it doesn't look
                        # like it was auto-generated.  Work around this by blowing it away
                        # by hand, unless the package specifically asked not to run aclocal.