Not rebuilding existing files

Lars Ivar Igesund <[email protected]> Sat, 24 Apr 2004 14:21:21 +0100
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
I've created a custom action that creates import libraries
from dlls.

It looks like this:

:action implib lib dll
     :sys implib /noi /system $target $source

and the route

:route dll lib
     implib

I call it by using

:do implib {target = $lib} $dll

Now, if I execute the recipe again, the import libraries are rebuilt
unnecessarily. It seems like I'm unable to find out how to not rebuild
if they already exists. Is there an easy way to add this to the code
above? I don't think this  stuff warrants an inclusion into A-A-P and
thus I want to make as small a recipe for it as possible.

Lars Ivar Igesund


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297