English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2009-04-09 (15:25)
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