caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Using a custom ocamldoc html with ocamlbuild
@ 2011-06-10 16:00 Till Varoquaux
  2011-06-10 20:58 ` [Caml-list] " Till Varoquaux
  0 siblings, 1 reply; 2+ messages in thread
From: Till Varoquaux @ 2011-06-10 16:00 UTC (permalink / raw)
  To: Caml-list List

Hello everyone.

I am currently trying to cajole ocamlbuild into using a custom
generator. Adding the extra command line arguments to load the
generator isn't hard:

flag ["doc";"ocaml"] & S[A"-i";A "+custom";A "my_gen.cmo"]

The tricky part is removing the -html flag that is passed to ocamldoc.
As far as I can tell there's no easy to do so (Flags.remove does not
actually allow you to do that). Maybe there's a way I could remove the
"extension:html" tag and therefore avoid triggering the rule that adds
-html?

All best,
Till

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

end of thread, other threads:[~2011-06-10 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-10 16:00 [Caml-list] Using a custom ocamldoc html with ocamlbuild Till Varoquaux
2011-06-10 20:58 ` [Caml-list] " Till Varoquaux

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