John Scipione <jscipione@xxxxxxxxx> wrote: > On Wed, Sep 14, 2011 at 12:40 PM, Rene Gollent <anevilyak@xxxxxxxxx> > wrote: > > That's because the layouts are currently copied via the rules here: > > > > http://dev.haiku-os.org/browser/haiku/trunk/build/jam/HaikuImage#L502 > > > > Which won't work properly if keymaps are also contained in subdirs. > > So what is the solution for this? How can I copy a directory with files > and > subdirectories from HaikuImage? The CopyDirectoryToHaikuImage rule can be used. There are already a few examples of it in HaikuImage. I'm not too fond of verbatim directory copies in general, as it takes a bit of control of what actually ends up in the image away from HaikuImage (*). Globs with "*" pattern basically have the same issue, so it wouldn't really get worse at least. CU, Ingo (*) Explicit file listings would be the most stringent, though in many cases laziness wins.