Version française
Home     About     Download     Resources     Contact us    
Browse thread
Ocamlbuild + unexpected dependency
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] Ocamlbuild + unexpected dependency
Hi,

Thanks for the hint -- it was sufficient to get me on the right
track.  Note however that instead of using the "compile" tag,
I had to use "ocamldep".  Also, the creation of the single-purpose
tag can be avoided by using "file:", as follows:

| After_rules ->
  dep ["ocamldep"; "file:foobar.ml"] ["data.txt"]

Best regards,
Dario Teixeira