From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 834F8BBAF for ; Fri, 27 Feb 2009 20:57:16 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEDAJjUp0lDww+pnGdsb2JhbACPF4VMAQEBAQEICwgJEbE5gQOPSgEEAgGEEQY X-IronPort-AV: E=Sophos;i="4.38,278,1233529200"; d="scan'208";a="24808688" Received: from web111507.mail.gq1.yahoo.com ([67.195.15.169]) by mail1-smtp-roc.national.inria.fr with SMTP; 27 Feb 2009 20:57:15 +0100 Received: (qmail 31731 invoked by uid 60001); 27 Feb 2009 19:57:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1235764634; bh=oaAB4196EjGzlOrNFzaqYwCpecoZnDjaZzhxtZKVV8A=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=g7Htx8RCY4njg1v49WJx8jmkqjIngrZgmX+F/9XUFLda0SVAMhowJcFXw8vYxrQHTKErv0qQP10o3B0LsNf4PbL5jrh+uPoCNd7SfcHr53X/ZrX4dao0geUbVDnySGtt1cUoyiiHJX9SFn6pSybA6u83Vgyi0Fifuaw1WRUgnN8= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZHo3aK/RHaoqp2yjKh3I0W3o9buJ4f9c0hMfA8Fv2rg3ZouAbPv//TzU2+DX6PnlUZwB2C0oQRXUntu6QXUZsZscfougpbZrds5TGfGCsM7BEACSko6QLYSHFpokw4yRBwisgechk/c4f2FiO2jQspPNIw0TelLAPVnF9GdPUC4=; Message-ID: <481995.31517.qm@web111507.mail.gq1.yahoo.com> X-YMail-OSG: OaUWWP8VM1mUT.6E94ouO.x42eXEXttnbKU6OScM5RyOdUsXnCyBk4aQIBgGjZa93oxkZQrDg_NQ.TABGsrz7gqFmnLbRPj9UHpiZ8MJBaCZ4R.bDRODTQruVT1nVL2lM7mqEAXK7NoWDjinraYFLpvyGAXVbxrEYCuyF.I2BskQpxl4wYrKZk7JZuk5vMX_oNp0ZaUXsPSoBzQLf2T4vV3cpH10dpCUfZd6v0lLFEYDVKtLh2rkwk74RXAZ4Q-- Received: from [213.205.71.50] by web111507.mail.gq1.yahoo.com via HTTP; Fri, 27 Feb 2009 11:57:14 PST X-Mailer: YahooMailWebService/0.7.289.1 Date: Fri, 27 Feb 2009 11:57:14 -0800 (PST) From: Dario Teixeira Subject: Trouble with Ocamldoc + Ocamlbuild To: caml-list@yquem.inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; ocamldoc:01 ocamldoc:01 foo:01 mylib:01 cmo:01 cmo:01 mylib:01 foo:01 caml-list:01 cma:01 cma:01 modules:02 modules:02 api:02 api:02 Hi, I'm having some trouble getting Ocamlbuild to produce API documentation via Ocamldoc in a project that uses packed modules. The project has two main directories, modA and modB, each contanining a couple of modules, as follow= s: modA |- Foo |- Bar modB |- Glu |- Bah I placed the modA.mlpack and modB.mlpack files at the top-level, listing th= e modules in the respective directories. The main target itself is to build the library mylib.cma, containing the packed modules modA.cmo and modB.cmo. Therefore, also at the top level directory is the file mylib.mllib, whose contents are "modA" and "modB" in separate lines. Now, building the library with "ocamlbuild mylib.cma" works fine. But how can I tell Ocamlbuild to build the API doc with Ocamldoc? I reckon I have to create a mylib.odocl file at the top-level, but what should its contents be? I have tried "modA" and "modB", but it doesn't work. Neither does a fully qualified specification, such as "modA.Foo", etc. Any thoughts? Thanks in advance! Best regards, Dario Teixeira P.S. The caml-list seems to be cloning posts today. Sorry if you get this message multiple times. =0A=0A=0A