caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlbuild + ocamldoc + external library problems
@ 2008-12-23  2:01 Ashish Agarwal
       [not found] ` <1230028123-sup-9915@ausone.local>
  0 siblings, 1 reply; 2+ messages in thread
From: Ashish Agarwal @ 2008-12-23  2:01 UTC (permalink / raw)
  To: Caml List

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-23 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-23  2:01 ocamlbuild + ocamldoc + external library problems Ashish Agarwal
     [not found] ` <1230028123-sup-9915@ausone.local>
2008-12-23 15:18   ` [Caml-list] " Ashish Agarwal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).