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.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 0DC9BBC0A for ; Fri, 25 May 2007 13:34:35 +0200 (CEST) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4PBYYat012070 for ; Fri, 25 May 2007 13:34:34 +0200 Received: by an-out-0708.google.com with SMTP id c24so189505ana for ; Fri, 25 May 2007 04:34:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Dotz3VeEbGj2myf6WHkUHXZOH9QesJ/ceTra2/8OOD+tOpZligjxzZ4pxKIeJkZ0PXwbP3GiHxA6MDB03Km4pmOSrTGv5Rpz62sQ2emOmq31ndUVD8Pp/ntO0gr3DY77eIIynrb+wo88ZpdXPJkIqPXsEeBQsWQ+Qfo3ZPrpq5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DTI1TcdtmR3GbXtDn6Jb1l6MS3wjTpCpesQns91g2gdSUNzbOh/LF2NVILg2SOsD73YGzRtmQJ3RNRvGJab+2s7mOv3EyeJiH1UcLLRB0Vmt/ZXOg0g/PZ8Oa3aJP50YKO7qw7HxzndVAsvoQy4NK+WhGgPxBhDIFL7lXsD6EpE= Received: by 10.114.81.1 with SMTP id e1mr1443079wab.1180092873378; Fri, 25 May 2007 04:34:33 -0700 (PDT) Received: by 10.114.183.4 with HTTP; Fri, 25 May 2007 04:34:33 -0700 (PDT) Message-ID: Date: Fri, 25 May 2007 13:34:33 +0200 From: "Nicolas Pouillard" To: "Joel Reymont" Subject: Re: [Caml-list] ocamlbuild and subdirectories Cc: "OCaml List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-j-chkmail-Score: MSGID : 4656C9CA.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 4656C9CA.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; cmxa:01 invoke:01 wrote:01 caml-list:01 cma:01 cma:01 shorter:02 src:94 src:94 nicolas:08 nicolas:08 file:08 targets:11 source:12 use:16 On 5/25/07, Joel Reymont wrote: > Currently I have all the source code under src/ and invoke ocamlbuild > like this: > > ocamlbuild src/topdog.cma > > Is there a way to skip the src and just use the following? > > ocamlbuild topdog.cma > > I do have myocamlbuild.ml and _tags. If you want a shorter command, you can pack targets in a .itarget file. $ cat all.itarget src/topdog.cma src/topdog.cmxa ... $ ocamlbuild all.otarget Hope this helps -- Nicolas Pouillard