libopie2.inc:
authorHolger Freyther <zecke@selfish.org>
Fri, 8 Jul 2005 18:09:34 +0000 (18:09 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 8 Jul 2005 18:09:34 +0000 (18:09 +0000)
    -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

index 1ee7900..75648b3 100644 (file)
@@ -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