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 + unexpected dependency
[ Home ] [ Index: by date | by threads ]
[ Search: ]

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

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