mirror of
git://git.yoctoproject.org/poky
synced 2026-10-01 02:01:47 +00:00
autotools.bbclass: autotools_stage_all - improve handling of datadir
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4077 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
13de832d06
commit
b26a7c4be9
@ -212,11 +212,13 @@ autotools_stage_all() {
|
|||||||
cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
|
cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then
|
rm -rf ${STAGE_TEMP}/${mandir} || true
|
||||||
install -d ${STAGING_DATADIR}/aclocal
|
rm -rf ${STAGE_TEMP}/${infodir} || true
|
||||||
cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
|
if [ -d ${STAGE_TEMP}/${datadir} ]; then
|
||||||
|
install -d ${STAGING_DATADIR}/
|
||||||
|
cp -fpPR ${STAGE_TEMP}/${datadir}/* ${STAGING_DATADIR}/
|
||||||
fi
|
fi
|
||||||
rm -rf ${STAGE_TEMP}
|
#rm -rf ${STAGE_TEMP}
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_FUNCTIONS do_configure do_install
|
EXPORT_FUNCTIONS do_configure do_install
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user