Re: aap install & :execute
Bram Moolenaar <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Adriaan de Groot wrote:
> On Thursday 23 October 2003 14:54, you wrote:
> > Adriaan de Groot wrote:
> > > aap install doesn't seem to respect :execute, as in the recipe in
> > > :execute _isn't_ executed (with target install) at all. :child doesn't
> > > have this problem. here's a sample log:
> > > Is there a reson for this, or is it just a bug?
> >
> > Sorry, I don't understand the remark.
> >
> > The ":execute" is executed when it's encoutered. Is the one you grepped
> > for at the toplevel or in the "install" command block?
>
> Yeah, I wasn't too coherent here. Consider the following:
>
> === main.aap
> :program blorg : t.c
> :execute child.aap
> === main.aap
>
> === child.aap
> :program hoople : u.c
> === child.aap
Eh, you invoke ":execute" with only the file name. You don't pass the
target, thus it will always build the "hoople" program. It's like doing
"aap -f child.aap".
I think you want to do:
:execute child.aap $TARGETARG
BTW: I noticed a typo in DoAddDef.py: INNSTALL_EXEC instead of
INSTAL_EXEC... Version 1.043 coming up!
--
GUARD #2: Wait a minute -- supposing two swallows carried it together?
GUARD #1: No, they'd have to have it on a line.
GUARD #2: Well, simple! They'd just use a standard creeper!
GUARD #1: What, held under the dorsal guiding feathers?
GUARD #2: Well, why not?
The Quest for the Holy Grail (Monty Python)
/// 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 is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/