[Cook] delayed cookbook includes

Jerry Pendergraft jerry at endocardial.com
Mon Jun 23 13:13:18 EST 2003


If you do:
#include-cooked generated.cookfile

and have a recipe to generate it
generated.cookfile : some-other-stuff
{
   generate [target];
}

You are guaranteed that the recipe will run before the include.

-- 
Jerry Pendergraft                        jerry.pendergraft at endocardial.com
Endocardial Solutions                    voice: 651-523-6935
1350 Energy Lane, Suite 110                fax: 651-644-7897
St Paul, MN 55108-5254                  mobile: 651-491-0163

On Sun, 22 Jun 2003, Aryeh M. Friedman wrote:

> 
> If I have a cookbook that is itself generated by a recipe and/or a immediate statement how
> do I force the recipe/immediate to run *BEFORE* the #include statement is executed.
> 
> 	--Aryeh
> _______________________________________________
> Cook-users mailing list
> Cook-users at auug.org.au
> http://www.auug.org.au/mailman/listinfo/cook-users
> 




More information about the Cook-users mailing list