<?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="2003/12/caf380ef3b8cb1a76d71c5e88c8cf14f"
  from="Remi Vanicat &lt;remi.vanicat@l...&gt;"
  author="Remi Vanicat"
  date="2003-12-02T17:48:15"
  subject="Re: [Caml-list] Ocamldep too &quot;gentle&quot;."
  prev="2003/12/8093299be6c7c92be8ba5aa1be06552b"
  next="2003/12/95e09e33572c3bc85a9fa3c1550cb20e"
  prev-in-thread="2003/12/8093299be6c7c92be8ba5aa1be06552b"
  next-in-thread="2003/12/95e09e33572c3bc85a9fa3c1550cb20e"
  prev-thread="2003/12/50bb73b39cc484fbbec77b6fee08aa8d"
  next-thread="2003/12/58db6af4f59fb2639367ca79e4b81602"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Ocamldep too &quot;gentle&quot;.">
<msg 
  url="2003/12/aa9745fef14bf44399b3477e558c0113"
  from="David Brown &lt;caml-list@d...&gt;"
  author="David Brown"
  date="2003-12-02T16:27:03"
  subject="[Caml-list] Ocamldep too &quot;gentle&quot;.">
<msg 
  url="2003/12/8281fd4f7ca18c0015fcc2a35dc5b862"
  from="Nicolas George &lt;nicolas.george@e...&gt;"
  author="Nicolas George"
  date="2003-12-02T16:43:05"
  subject="Re: [Caml-list] Ocamldep too &quot;gentle&quot;.">
<msg 
  url="2003/12/f46df12ce2be112eb2510b3a5ff38cfd"
  from="samsaga2 &lt;samsaga2@s...&gt;"
  author="samsaga2"
  date="2003-12-02T16:53:45"
  subject="Re: [Caml-list] Ocamldep too &quot;gentle&quot;.">
<msg 
  url="2003/12/8093299be6c7c92be8ba5aa1be06552b"
  from="Nicolas George &lt;nicolas.george@e...&gt;"
  author="Nicolas George"
  date="2003-12-02T17:13:47"
  subject="Re: [Caml-list] Ocamldep too &quot;gentle&quot;.">
</msg>
</msg>
</msg>
<msg 
  url="2003/12/caf380ef3b8cb1a76d71c5e88c8cf14f"
  from="Remi Vanicat &lt;remi.vanicat@l...&gt;"
  author="Remi Vanicat"
  date="2003-12-02T17:48:15"
  subject="Re: [Caml-list] Ocamldep too &quot;gentle&quot;.">
<msg 
  url="2003/12/95e09e33572c3bc85a9fa3c1550cb20e"
  from="Damien &lt;Damien.Pous@e...&gt;"
  author="Damien"
  date="2003-12-02T17:57:49"
  subject="Re: [Caml-list] Ocamldep too &quot;gentle&quot;.">
</msg>
</msg>
</msg>
</thread>

<contents>
David Brown &lt;caml-list@davidb.org&gt; writes:

&gt; I'm having a problem with ocamldep being too "gentle".  I have a file
&gt; units.ml that is generated with extract_crc.  The problem is that
&gt; ocamldep gets run at the beginning of the make, when units.ml doesn't
&gt; yet exist.  ocamldep doesn't output the dependency on units.cmo and
&gt; units.cmx because it can't find the source file.

The solution is to generate units.ml before generating the
dependency.... 

You could try to look at what the OcamlMakefile do for ocamllex and
ocamlyacc generated ml file.

-- 
Rémi Vanicat

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

