Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Olivier Andrieu <andrieu@ijm.jussieu.fr>
To: "Warp" <warplayer@free.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] OCamldep & Paths
Date: Wed, 10 Apr 2002 12:57:54 +0200	[thread overview]
Message-ID: <15540.6834.886383.433624@akasha.ijm.jussieu.fr> (raw)
In-Reply-To: <003f01c1e007$0c4b7830$3900a8c0@warp>

 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


      reply	other threads:[~2002-04-10 10:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-09 20:42 Warp
2002-04-10 10:57 ` Olivier Andrieu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15540.6834.886383.433624@akasha.ijm.jussieu.fr \
    --to=andrieu@ijm.jussieu.fr \
    --cc=caml-list@inria.fr \
    --cc=warplayer@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox