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: Ocamlbuild + unexpected dependency
Hi,

I'm using the Xstrp4 syntax extension to include an external
file "data.txt" inside a "foobar.ml" file.  I'm also using
ocamlbuild to build the project.  How do I tell ocamlbuild
that data.txt should be also be copied to the _build directory
for building?  Ocamlbuild by default has no way of knowing that
foobar.ml depends on data.txt.  (I am presently using an absolute
path to get around this, which is not very portable).

Thanks in advance!
Best regards,
Dario Teixeira