Version française
Home     About     Download     Resources     Contact us    
Browse thread
Ocamlbuild with Ocamldoc and implementation files
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dario Teixeira <darioteixeira@y...>
Subject: Ocamlbuild with Ocamldoc and implementation files

Hi,

How would I go about convincing Ocamlbuild to also include the foobar.ml
file when invoking ocamldoc to produce the documentation for foobar.mli?

So, instead of doing this:

ocamlfind ocamldoc -dump foobar.odoc foobar.mli

It should do this:

ocamlfind ocamldoc -dump foobar.odoc foobar.mli foobar.ml

But obviously in a more general way, ie, not hard-wired to "foobar".

Thanks in advance!
Dario Teixeira