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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id EB484BC0A for ; Wed, 23 May 2007 16:44:36 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.233]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4NEiZUo011373 for ; Wed, 23 May 2007 16:44:36 +0200 Received: by nz-out-0506.google.com with SMTP id i11so197638nzi for ; Wed, 23 May 2007 07:44:35 -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=kSyZ0+ZS8h750XgqrC3F2YgIF8tLbbULjjMabraopUJrTSC2Syj+34cPHPGdWjw93Zr0OiHSuVqrYkBCFPf+lURby9RLTKEEWqAQnB4j0EkkSXE2DXxu8yRiDIIc7XF9eDnjhoEEclwml1pjPFL09Sz6n1RWF3QgS7opJjRX6s0= 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=DprnNnUtWuVy6C6HNjlEYB2L+DFfP4tQiAZ/7vRc6mPCJztmAnMzaVIZfzRx1zyngQrecDJ0iQc4jBgermwaXqdU30GOwWVAl+bqgBb4N9iTFnZdDkJaR868FB71bP+msPOF3H3OZS8DWByc8DwBc8svyaT0vpyznYSGbgo5MkI= Received: by 10.114.197.1 with SMTP id u1mr312808waf.1179931070356; Wed, 23 May 2007 07:37:50 -0700 (PDT) Received: by 10.114.183.4 with HTTP; Wed, 23 May 2007 07:37:50 -0700 (PDT) Message-ID: Date: Wed, 23 May 2007 16:37:50 +0200 From: "Nicolas Pouillard" To: "Joel Reymont" Subject: Re: [Caml-list] Pairing ocamlbuild with ocamlfind 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 : 46545354.001 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 46545354.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocamlfind:01 deps:01 foolib:01 23,:98 2007,:98 wrote:01 wrote:01 caml-list:01 cma:01 seems:03 library:03 library:03 install:05 install:05 phony:06 Phony targets are not so well integrated. Starts by creating an install file. rule "install" ~prod:"install" ~deps:["META"; "foolib.cma"] begin fun _ _ -> .... end Something like that. On 5/23/07, Joel Reymont wrote: > > On May 23, 2007, at 3:24 PM, Nicolas Pouillard wrote: > > > Hum, it seems that you just need to add some rules. > > ocamlbuild takes a target so I think I would need a fake "install" > target, right? > > This target should depend on the META file and on the library being > built, right? > > How do I create such a target and how do I refer to the library being > built? > > Thanks, Joel > > -- > http://wagerlabs.com/ > > > > > > -- Nicolas Pouillard