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=1.4 required=5.0 tests=SPF_NEUTRAL autolearn=disabled version=3.1.3 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 E2837BC6B for ; Wed, 28 Nov 2007 12:11:40 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAM/bTEfAXQImh2dsb2JhbACPPAIBCAop X-IronPort-AV: E=Sophos;i="4.23,224,1194217200"; d="scan'208";a="5012638" Received: from discorde.inria.fr ([192.93.2.38]) by mail1-smtp-roc.national.inria.fr with ESMTP; 28 Nov 2007 12:11:40 +0100 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id lASBBaxM003777 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 28 Nov 2007 12:11:40 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAABrbTEdA6aa2kGdsb2JhbACPPAIBAQcCBhMRBw X-IronPort-AV: E=Sophos;i="4.23,224,1194217200"; d="scan'208";a="6266115" Received: from py-out-1112.google.com ([64.233.166.182]) by mail3-smtp-sop.national.inria.fr with ESMTP; 28 Nov 2007 12:11:39 +0100 Received: by py-out-1112.google.com with SMTP id u52so3035196pyb for ; Wed, 28 Nov 2007 03:11:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=FjFKPmKOBrIjGPQwgTg1DZmmheVJlwJivJnaWngxCGs=; b=AP3upyWAYVLubTlZuP4i4l7bQhVliGakn3TJsdP8/VPUGe3JRZP+8KVkeDtM5mPhkTNiCVkz9VVeyXtEi3u+MsiK+2LIrXYDp+2sLOef3eOcOlQFz5f3ULjHbc1Xzm4kSK4GGKSZylasUzjvcWCTuDJP68n8I8phrvIOHO63a6I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=L0q/cZwPdza+1i/AStOKEBPMqXCUxJ/pPxpFJUcBWDVgydHKRtA14nZdG/CSrWjGc8b73EKuPbjymaa41UyMuIaAXGuN2AWE9EpxKAzdHUup+fIZgEIOh+Knd9bUgFtpwI4gls2VNqe7870dS9+vn/dIX0KdZpTJsft+7lfYrGc= Received: by 10.64.179.12 with SMTP id b12mr11332718qbf.1196248263035; Wed, 28 Nov 2007 03:11:03 -0800 (PST) Received: by 10.65.218.8 with HTTP; Wed, 28 Nov 2007 03:11:02 -0800 (PST) Message-ID: <9b415f950711280311j1a6ceaf0ldc8191ccd6478d4b@mail.gmail.com> Date: Wed, 28 Nov 2007 12:11:02 +0100 From: "Benedikt Grundmann" Sender: benedikt.grundmann@googlemail.com To: Caml-list Subject: ocamlbuild -pack and ocamldoc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: d2f35d22fde338f9 X-Miltered: at discorde with ID 474D4CE8.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; grundmann:01 -pack:01 ocamldoc:01 camlp:01 ocamldoc:01 -pack:01 foo:01 odoc:01 calvin:98 calvin:98 ideally:01 consisting:02 benedikt:03 correctly:04 nicolas:08 Hi list (and Nicolas in particular), I have a rather big project consisting of several parts. I currently build everything using one central myocamlbuild.ml file, one pN.mlpack file for each part, a _tags file in each part that adds the for-pack(pN) option and sometimes the necessary camlp4o, use_ tag. The parts are not independent of each other. I want to add a (ocamldoc) reference to my project. Ideally one for the complete project, where each part is correctly packed and there is one central index.html file. Originally I had a file pN/pNdoc.odocl for each part pN and called ocamlbuild pN/pNdoc.docdir/index.html, which worked until I added the -pack option. Now depending on the options I set, I either get an error message by ocamlbuild stating that it does not know how to build pN/foo.odoc or an error message by ocamldoc stating that it does not know how to find certain files. What is the proper way to use ocamldoc together with ocamlbuild in such a scenario? Thanks in advance, Bene -- Calvin: Life is full of surprises, but never when you need one. (From Calvin & Hobbes)