From: "Ashish Agarwal" <agarwal1975@gmail.com>
To: "Caml List" <caml-list@inria.fr>
Subject: ocamlbuild + ocamldoc + external library problems
Date: Mon, 22 Dec 2008 21:01:38 -0500 [thread overview]
Message-ID: <d8be5ae20812221801n923d721pe074d07f490a36db@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 660 bytes --]
How can I get ocamlbuild to include paths to external libraries when
building documentation?
Ocamlbuild gives me errors when building documentation, when my interface
files contain references to an external library. I have set up my plugin and
_tags file to correctly compile the code, but cannot get the documentation
to work. The command that ocamlbuild executes is [1], which gives error
[2]. Module M is declared in an external library. I get no errors if I
manually type [3], where ~/mylibs contains the appropriate library.
[1] ocamlfind ocamldoc -dump a.odoc a.mli
[2] Unbound module M
[3] ocamlfind ocamldoc -dump a.odoc -I ~/mylibs/ a.mli
Thank you.
[-- Attachment #2: Type: text/html, Size: 868 bytes --]
next reply other threads:[~2008-12-23 2:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-23 2:01 Ashish Agarwal [this message]
[not found] ` <1230028123-sup-9915@ausone.local>
2008-12-23 15:18 ` [Caml-list] " Ashish Agarwal
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=d8be5ae20812221801n923d721pe074d07f490a36db@mail.gmail.com \
--to=agarwal1975@gmail.com \
--cc=caml-list@inria.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