diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-19 20:07:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-19 20:07:47 +0000 |
commit | b26a7c4be98f6088cbb45b668d4d5f013b7e8351 (patch) | |
tree | e2651ac077c8bf9fcf995b191b2e64f7b394f5a7 /meta/classes | |
parent | 13de832d0610b360e5e29eca8a34d69ec5964139 (diff) | |
download | poky-b26a7c4be98f6088cbb45b668d4d5f013b7e8351.tar.gz |
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')
-rw-r--r-- | meta/classes/autotools.bbclass | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 004ac79f03..97a4ac63fb 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -212,11 +212,13 @@ autotools_stage_all() { | |||
212 | cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR} | 212 | cp -fpPR ${STAGE_TEMP}/${libdir}/* ${STAGING_LIBDIR} |
213 | fi | 213 | fi |
214 | fi | 214 | fi |
215 | if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then | 215 | rm -rf ${STAGE_TEMP}/${mandir} || true |
216 | install -d ${STAGING_DATADIR}/aclocal | 216 | rm -rf ${STAGE_TEMP}/${infodir} || true |
217 | cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal | 217 | if [ -d ${STAGE_TEMP}/${datadir} ]; then |
218 | install -d ${STAGING_DATADIR}/ | ||
219 | cp -fpPR ${STAGE_TEMP}/${datadir}/* ${STAGING_DATADIR}/ | ||
218 | fi | 220 | fi |
219 | rm -rf ${STAGE_TEMP} | 221 | #rm -rf ${STAGE_TEMP} |
220 | } | 222 | } |
221 | 223 | ||
222 | EXPORT_FUNCTIONS do_configure do_install | 224 | EXPORT_FUNCTIONS do_configure do_install |