Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2009-02-10 (22:41)
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 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.