From 6c709f5f01e190dc3d05777de12f2eaa90d20485 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Fri, 8 Jul 2005 18:09:34 +0000 Subject: 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! --- packages/libopie/libopie2.inc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'packages/libopie') 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 -- cgit v1.2.3