From: Holger Freyther Date: Fri, 8 Jul 2005 18:09:34 +0000 (+0000) Subject: libopie2.inc: X-Git-Tag: Release-2010-05/1~9453^2~4217 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c709f5f01e190dc3d05777de12f2eaa90d20485;p=openembedded.git libopie2.inc: -Change the way we install headers into staging. Do not use find directly but look for headers in each known module. Imagine someones patches libopie and you have .pc or patches/ directory now someone even patches a header file and due bad luck the header from .pc/patches got staged instead of the patched... This can not happen anymore! --- diff --git a/packages/libopie/libopie2.inc b/packages/libopie/libopie2.inc index 1ee7900fb8..75648b3c79 100644 --- a/packages/libopie/libopie2.inc +++ b/packages/libopie/libopie2.inc @@ -32,10 +32,15 @@ python __anonymous () { do_compile() { install -d ${STAGING_INCDIR}/opie2 install -d ${STAGING_INCDIR}/opie2/private - for i in `find . -name "*.h"` - do + for module in opiecore opiedb opiemm opienet opiepim opiesecurity opieui + do + cd $module + for i in `find . -name "*.h"` + do install -m 0644 $i ${STAGING_INCDIR}/opie2/`basename $i` - done + done + cd .. + done for i in opimcontactsortvector.h opimoccurrence_p.h opimsortvector.h opimtodosortvector.h vobject_p.h opimeventsortvector.h do