Re: Various issues

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Adriaan de Groot wrote:

> > > It's something of an automake holdover. :child $SUBDIRS seems much more
> > > convenient that "for i in var2list(SUBDIRS): :child $i". Maybe it never
> > > happens.
> >
> > Ah, if you assign the list of subdirectories to a variable I can see the
> > point of ":child" accepting a list of recipes.  But you might as well
> > call it $CHILDREN and give the recipe names.  Note that they could be in
> > the same directory as the current recipe.  Mixing file names with
> > directory names may be a bit confusing.
> 
> Agreed. In the SUBDIRS case, AAP's existing rc-expansion can handle it
> with :child $*SUBDIRS/main.aap (um, can it? does that work?).

Yes, that should work.

> I'd suggest that adding support for multiple children in one command
> is useful, but the implicit main.aap is not.

OK.  Are you going to make a patch for this?

-- 
hundred-and-one symptoms of being an internet addict:
114. You are counting items, you go "0,1,2,3,4,5,6,7,8,9,A,B,C,D...".

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.