Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlbuild rules generating multiple files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] ocamlbuild rules generating multiple files

Le 10 févr. 09 à 23:33, Hezekiah M. Carty a écrit :

> I've used the following rule under After_rules in myocamlbuild.ml for

[...]

Thanks but my problem is that the generated file do not have the same  
basename as the dep i.e. I cannot specify the ~prods arg, the ~prods  
are going to be discovered while the rule is executed and without  
going through further "build" argument invocations.

Maybe a good example is tar archives. Let's say I have a rule that  
takes a .tgz and produces its files. How do I tell ocamlbuild that  
these files now exist.

Best,

Daniel