caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamlbuild, ocamldoc and module packs
@ 2011-11-10 20:52 Guillaume Yziquel
  2011-11-11 13:08 ` Pietro Abate
  0 siblings, 1 reply; 3+ messages in thread
From: Guillaume Yziquel @ 2011-11-10 20:52 UTC (permalink / raw)
  To: caml-list

Hi.

I've been trying recently to use ocamldoc with ocamlbuild on module
packs.

I have a prog.odocl file containing things like

	ModuleOne/A
	ModuleOne/B
	ModuleTwo/C
	ModuleTwo/D

and the ocamldoc documentation has at its root the module A, B, C and D.
Not ModuleOne and ModuleTwo.

Replacing prog.odocl naively by

	ModuleOne
	ModuleTwo

fails with a rather verbose ocamldoc solver error.

My _tags file contains something like:

	<ModuleOne/*.cmx> : for-pack(ModuleOne)
	<ModuleTwo/*.cmx> : for-pack(ModuleTwo)

Is there any way to make ocamldoc behave more nicely with respect to
module packs (if possible via ocamlbuild)?

-- 
     Guillaume Yziquel

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

end of thread, other threads:[~2011-11-12  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-10 20:52 [Caml-list] ocamlbuild, ocamldoc and module packs Guillaume Yziquel
2011-11-11 13:08 ` Pietro Abate
2011-11-12  8:35   ` Guillaume Yziquel

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).