<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2009/10/5b7e1adc784c98522967086aecba7d6c"
  from="Dario Teixeira &lt;darioteixeira@y...&gt;"
  author="Dario Teixeira"
  date="2009-10-23T16:49:49"
  subject="Re: [Caml-list] Ocamlbuild + unexpected dependency"
  prev="2009/10/39062037ea7b698ed4d0e8eac5722e3f"
  next="2009/10/7d3be716f3343f93c3c99f20ba3ddb6e"
  prev-in-thread="2009/10/9e2c94423f18872e0c1332c3f6115d66"
  prev-thread="2009/10/7ee1373a402f5409b88f6f1276dca2cd"
  next-thread="2009/10/dd2f31ff751f8cc85c64a3d518f82592"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Ocamlbuild + unexpected dependency">
<msg 
  url="2009/10/3bcd2f16c7ea93d30f4c2afe13184103"
  from="Dario Teixeira &lt;darioteixeira@y...&gt;"
  author="Dario Teixeira"
  date="2009-10-23T16:04:48"
  subject="Ocamlbuild + unexpected dependency">
<msg 
  url="2009/10/9e2c94423f18872e0c1332c3f6115d66"
  from="Hezekiah M. Carty &lt;hcarty@a...&gt;"
  author="Hezekiah M. Carty"
  date="2009-10-23T16:13:47"
  subject="Re: [Caml-list] Ocamlbuild + unexpected dependency">
<msg 
  url="2009/10/5b7e1adc784c98522967086aecba7d6c"
  from="Dario Teixeira &lt;darioteixeira@y...&gt;"
  author="Dario Teixeira"
  date="2009-10-23T16:49:49"
  subject="Re: [Caml-list] Ocamlbuild + unexpected dependency">
</msg>
</msg>
</msg>
</thread>

<contents>
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 -&gt;
  dep ["ocamldep"; "file:foobar.ml"] ["data.txt"]

Best regards,
Dario Teixeira



      

</contents>

</message>

