English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

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