From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA20772; Tue, 2 Dec 2003 17:27:03 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA20099 for ; Tue, 2 Dec 2003 17:27:01 +0100 (MET) Received: from mail.davidb.org (adsl-64-172-240-129.dsl.sndg02.pacbell.net [64.172.240.129]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hB2GR0101088 for ; Tue, 2 Dec 2003 17:27:00 +0100 (MET) Received: from davidb by mail.davidb.org with local (Exim 3.36 #1 (Debian)) id 1ARDMY-00076J-00 for ; Tue, 02 Dec 2003 08:26:58 -0800 Date: Tue, 2 Dec 2003 08:26:58 -0800 From: David Brown To: Caml List Subject: [Caml-list] Ocamldep too "gentle". Message-ID: <20031202162658.GC27151@davidb.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 ocamldep:01 ocamldep:01 cmx:01 cmo:01 dave:03 output:05 source:07 problem:07 problem:07 i'm:07 i'm:07 davidb:08 generated:08 david:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I'm having a problem with ocamldep being too "gentle". I have a file units.ml that is generated with extract_crc. The problem is that ocamldep gets run at the beginning of the make, when units.ml doesn't yet exist. ocamldep doesn't output the dependency on units.cmo and units.cmx because it can't find the source file. I know that ocamldep doesn't have any way of knowing which directory the dependency is to be located in, so I'm really just looking for suggestions. Dave ------------------- 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