[I wrote]
>   (cd $s; find * -type d) | xargs mkdir -p;
>   (cd $s;
>    exec find * \( -type d -exec mkdir \{} \; \) -o \
>      \( -type f ! -name \*.prepend ! -name \*.append -print \) ) |
>     while read f; do

This is redundant - the second mkdir is not needed.
Should be:

  (cd $s; exec find * -type d) | xargs mkdir -p;
  (cd $s;
   exec find * -type f ! -name \*.prepend ! -name \*.append) |
    while read f; do

Still untested,
Peter

PS - I still (unlike Sam) like Keith's kbuild2.5.  I think it is a
cleaner and more flexible design than the existing makefiles.  I just
don't see the need for explicit shadow tree support.  (Separate src
and obj dirs are *definitely* needed, though.)

As Kai continues to hack on the existing Rules.make system, I've
changed my mind about what an unfixable mess it was.  Obviously some
of its flaws were fixable after all (or some features of kbuild2.5
were mergeable after all, depending on how you look at it).  I still
prefer kbuild2.5, but by a significantly smaller margin than I did
before Kai started.


-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to