[Omake] Re: omake bug with multiple targets

Aleksey Nogin nogin at metaprl.org
Fri Feb 6 08:45:38 PST 2009


On 05.02.2009 14:45, Sam Steingold wrote:

> hmm, let me offer you a bigger part of the OMakefile:
> 
> ================================
> my_save(file) =
>   if $(file-exists $(file))
>     cp $(file) $(file).save
> 
> my_diff(file) =
>   save=$(file).save
>   if $(file-exists $(save))
>     diff -i -u $(save) $(file) || true
>     rm -f $(save)
> 
> a.ml b.ml c.ml : generator.exe
>     ./generator.exe
> ================================
> 
> maybe the problem is with my_save & my_diff?
> 
Sam,

I do not see anything wrong in the above...

As I just answered to Alain - it is possible that there is some subtle
hard-to-reproduce bug here. If so - than I'd really appreciate getting a
small self-contained reproducible test case, if you can find one.

Aleksey


More information about the Omake mailing list