[llvm-commits] [PATCH] Add support for generating ocaml documentation.

Gordon Henriksen gordonhenriksen at mac.com
Sun Mar 9 09:36:59 PDT 2008


On Mar 9, 2008, at 05:16, Erick Tryzelaar wrote:

> This patch integrates automatic generation of ocaml documation with  
> the build system. It copies the doxygen install and directory  
> hierarchy. Gordon, I'll leave the re-configuration to you.

Erick,

This is great! I have a couple of comments, though.

• Although you're clearly following precedent with --enable-ocamldoc,  
let's tread lightly adding new configure knobs. doxygen is off by  
default because it takes an alarming amount of time to run. ocamldoc  
takes maybe 3s. Let's simply turn ocamldoc on if the bindings are  
being built, something like ifneq (,$(filter ocaml,$ 
(BINDINGS_TO_BUILD))). Or, if you prefer, we could also require -- 
enable-doxygen, making that switch control both documentation  
generators.

• How about a patch for the web site to link to these? http://llvm.org/svn/llvm-project/website/trunk/

Thanks,
Gordon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080309/44140ee1/attachment.html>


More information about the llvm-commits mailing list