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=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 4A0DEBC6C for ; Thu, 31 Jan 2008 15:02:57 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAGpjoUfAXQInh2dsb2JhbACQKwEBAQgKKZly X-IronPort-AV: E=Sophos;i="4.25,285,1199660400"; d="scan'208";a="6780844" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 31 Jan 2008 15:02:57 +0100 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m0VE2oXQ015943 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 31 Jan 2008 15:02:57 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAACVkoUeBrw8Eh2dsb2JhbACQKwEBAQgKKZl1 X-IronPort-AV: E=Sophos;i="4.25,285,1199660400"; d="scan'208";a="8574364" Received: from ext.lri.fr ([129.175.15.4]) by mail3-smtp-sop.national.inria.fr with ESMTP; 31 Jan 2008 15:02:56 +0100 Received: from localhost (localhost [127.0.0.1]) by ext.lri.fr (Postfix) with ESMTP id 7D42AA491A; Thu, 31 Jan 2008 15:02:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at lri.fr Received: from ext.lri.fr ([127.0.0.1]) by localhost (ext.lri.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5ymuMnOpDIy8; Thu, 31 Jan 2008 15:02:56 +0100 (CET) Received: from smtp.lri.fr (vhost3-23 [129.175.3.23]) by ext.lri.fr (Postfix) with ESMTP id 5CC94A48E8; Thu, 31 Jan 2008 15:02:56 +0100 (CET) Received: from [129.175.4.128] (lri4-128 [129.175.4.128]) by smtp.lri.fr (Postfix) with ESMTP id 48DB4E052B; Thu, 31 Jan 2008 15:02:56 +0100 (CET) Message-ID: <47A1D562.70300@lri.fr> Date: Thu, 31 Jan 2008 15:04:18 +0100 From: Romain Bardou User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Nicolas Pouillard Cc: caml-list Subject: Re: [Caml-list] ocamlbuild and packs References: <47A1B728.1070200@lri.fr> <1201784124-sup-1877@ausone.inria.fr> <47A1D046.2040908@lri.fr> <1201787059-sup-9108@ausone.inria.fr> In-Reply-To: <1201787059-sup-9108@ausone.inria.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 47A1D50A.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lri:01 -for-pack:01 ocamldep:01 usr:01 ocamldep:01 clashes:01 caml-list:01 bin:01 btw:03 opt:04 complex:05 scoping:05 problem:05 anyway:05 bla:08 > Using -for-pack is a pain. If your project is not too complex, I can advise > to use your _tags that way: > > $ cat _tags > : for-pack(Blabli) > # This is to avoid -I bli > "bli": include > > If you need more precise scoping, plugin is your last option. I want to pack all the files in bla and bli together anyway, so this solution would be great; however, now ocamldep gives me an error: /usr/local/bin/ocamldep.opt: unknown option `-for-pack'. Btw, wouldn't the line including "bli" result in the same problem as before, with name clashes between the files in "/bli" and the files in "/"? I'll investigate and try to add the include option only on the files in bl{a,i}, using some tags or some plugin. -- Romain Bardou