Browse thread
Ocamlbuild with Ocamldoc and implementation files
- Dario Teixeira
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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