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 MAA17502; Wed, 10 Apr 2002 12:58:02 +0200 (MET DST) 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 MAA17943 for ; Wed, 10 Apr 2002 12:58:01 +0200 (MET DST) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3AAw0v18018 for ; Wed, 10 Apr 2002 12:58:00 +0200 (MET DST) Received: from akasha.ijm.jussieu.fr (akasha.ijm.jussieu.fr [134.157.173.57]) by shiva.jussieu.fr (8.12.1/jtpda-5.4) with ESMTP id g3AAw0YD058175 ; Wed, 10 Apr 2002 12:58:00 +0200 (CEST) Received: by akasha.ijm.jussieu.fr (Postfix, from userid 11004) id 126F53CA61; Wed, 10 Apr 2002 12:57:55 +0200 (CEST) From: Olivier Andrieu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15540.6834.886383.433624@akasha.ijm.jussieu.fr> Date: Wed, 10 Apr 2002 12:57:54 +0200 To: "Warp" Cc: caml-list@inria.fr Subject: Re: [Caml-list] OCamldep & Paths In-Reply-To: <003f01c1e007$0c4b7830$3900a8c0@warp> References: <003f01c1e007$0c4b7830$3900a8c0@warp> X-Mailer: VM 7.03 under Emacs 20.7.1 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Warp [Tuesday 9 April 2002] : > > Seems like ocamldep got some problems with paths : > > When I run : ocamldep aexpr.ml test.ml > I got the following : > > aexpr.cmo : aexpr.cmi > test.cmo : aexpr.cmi > > But if I run ocamldep from the parent directory : ocamldep aexpr/aexpr.ml > aexpr/test.ml > I got only : > > aexpr/aexpr.cmo : aexpr/aexpr.cmi There's an allusion to this somewhere in the manual (in the ocamldep part I guess). You have to use the -I switch in this case : ocamldep -I aexptr aexpre/aexpr.ml aexpr/test.ml should do what you want. -- Olivier ------------------- 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