Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlbuild - how to force the rebuilding of a target inside a plugin?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] ocamlbuild - how to force the rebuilding of a target inside a plugin?
On Sun, 21 Feb 2010 23:15:09 +0100, Vincent Aravantinos <vincent.aravantinos@gmail.com> wrote:
> Hi list,
> 
> does anybody (Nicolas?) knows if it is possible to force a target to  
> be rebuilt from within an ocamlbuild plugin?
> 
> Concretely I am making a plugin for LaTeX compilation and would like  
> to say to ocamlbuild:
> "first compile the source, then if the .aux file has changed then  
> recompile it".

I would suggest to not try to bypass the dependency system and to instead
try to make a rule that fits ocamlbuild mechanism. However the simpler
is maybe to call a tool which does this job like rubber.

-- 
Nicolas Pouillard
http://nicolaspouillard.fr