Re: aap install & :execute
Adriaan de Groot <adridg-FlD2LfDziEhmR6Xm/[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
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
both t.c and u.c can be trivial C programs. I'd suggest
=== t.c
int main(int argc,char **argv)
{
return argc;
}
=== t.c
Now, running aap creates both blorg and hoople. So far so good. But:
eggs.ebn.kun.nl$aap clean
Aap: Deleted "build-FreeBSD4_9_RC/t.c.aap"
Aap: Deleted "build-FreeBSD4_9_RC/t.o"
Aap: Deleted "blorg"
so the "clean" isn't propagated to the executed recipe. My original problem
was with install, but this illustrates the same.
-------------------------------------------------------
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/