summaryrefslogtreecommitdiff
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-03-19 20:07:47 +0000
committerRichard Purdie <richard@openedhand.com>2008-03-19 20:07:47 +0000
commitb26a7c4be98f6088cbb45b668d4d5f013b7e8351 (patch)
treee2651ac077c8bf9fcf995b191b2e64f7b394f5a7 /meta/classes/autotools.bbclass
parent13de832d0610b360e5e29eca8a34d69ec5964139 (diff)
downloadopenembedded-core-b26a7c4be98f6088cbb45b668d4d5f013b7e8351.tar.gz
openembedded-core-b26a7c4be98f6088cbb45b668d4d5f013b7e8351.tar.bz2
openembedded-core-b26a7c4be98f6088cbb45b668d4d5f013b7e8351.tar.xz
openembedded-core-b26a7c4be98f6088cbb45b668d4d5f013b7e8351.zip
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
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass10
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 004ac79f0..97a4ac63f 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -212,11 +212,13 @@ autotools_stage_all() {
cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR}
fi
fi
- if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then
- install -d ${STAGING_DATADIR}/aclocal
- cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal
+ rm -rf ${STAGE_TEMP}/${mandir} || true
+ rm -rf ${STAGE_TEMP}/${infodir} || true
+ if [ -d ${STAGE_TEMP}/${datadir} ]; then
+ install -d ${STAGING_DATADIR}/
+ cp -fpPR ${STAGE_TEMP}/${datadir}/* ${STAGING_DATADIR}/
fi
- rm -rf ${STAGE_TEMP}
+ #rm -rf ${STAGE_TEMP}
}
EXPORT_FUNCTIONS do_configure do_install