From: Richard Purdie Date: Mon, 29 Oct 2007 15:44:56 +0000 (+0000) Subject: autotools.bbclass: Reference STAGING_DATADIR (from poky) X-Git-Tag: Release-2010-05/1~8454^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74554526998506d094a0adec1abc20879a1d53c9;p=openembedded.git autotools.bbclass: Reference STAGING_DATADIR (from poky) --- diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index fccf2b6d80..8e4fba9400 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -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.