Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Guillaume Yziquel <guillaume.yziquel@citycable.ch>
To: caml-list@inria.fr
Subject: [Caml-list] ocamlbuild, ocamldoc and module packs
Date: Thu, 10 Nov 2011 21:52:59 +0100	[thread overview]
Message-ID: <20111110205259.GZ3413@localhost> (raw)

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

             reply	other threads:[~2011-11-10 20:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-10 20:52 Guillaume Yziquel [this message]
2011-11-11 13:08 ` Pietro Abate
2011-11-12  8:35   ` Guillaume Yziquel

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=20111110205259.GZ3413@localhost \
    --to=guillaume.yziquel@citycable.ch \
    --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