Re: Not rebuilding existing files

Lars Ivar Igesund <[email protected]> Sat, 24 Apr 2004 15:03:44 +0100
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Bram Moolenaar wrote:

> 
> An action is always executed when you invoke it with ":do".
> 
> You probably want to use a rule or dependency for this:
> 
> 	:rule %.lib : %.dll
> 		:do implib {target = $target} $source
> 	
> And then use ":update my.lib" where you were using ":do implib".
> 
> You don't need the route for this.  There is still a design decision to
> be taken whether routes should also be used like rules, to execute
> commands to update a target.  Problem is that the relation between the
> target and source file name may not be so obvious and we only know the
> file types.
> 

It worked. Thanks.

Lars Ivar



-------------------------------------------------------
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