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 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 00410BC6C for ; Thu, 31 Jan 2008 15:15:31 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPdmoUfAXQInh2dsb2JhbACQKwEBAQgKKZl0 X-IronPort-AV: E=Sophos;i="4.25,285,1199660400"; d="asc'?scan'208";a="7473811" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 31 Jan 2008 15:15:31 +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 m0VEFUEo016686 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 31 Jan 2008 15:15:31 +0100 X-IronPort-AV: E=Sophos;i="4.25,285,1199660400"; d="asc'?scan'208";a="8575187" Received: from peray.inria.fr (HELO ausone.inria.fr) ([128.93.8.98]) by mail3-relais-sop.national.inria.fr with SMTP; 31 Jan 2008 15:15:31 +0100 Received: by ausone.inria.fr (sSMTP sendmail emulation); Thu, _d Jan 2008 15:14:26 +0100 From: "Nicolas Pouillard" Cc: caml-list Subject: Re: [Caml-list] ocamlbuild and packs To: Romain Bardou References: <47A1B728.1070200@lri.fr> <1201784124-sup-1877@ausone.inria.fr> <47A1D046.2040908@lri.fr> <1201787059-sup-9108@ausone.inria.fr> <47A1D562.70300@lri.fr> In-Reply-To: <47A1D562.70300@lri.fr> Date: Thu, 31 Jan 2008 15:14:26 +0100 Message-Id: <1201788818-sup-143@ausone.inria.fr> User-Agent: Sup/git Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1201788866-619324-54679-699-13-="; micalg="pgp-sha1" MIME-Version: 1.0 X-Miltered: at concorde with ID 47A1D802.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; -for-pack:01 ocamldep:01 usr:01 ocamldep:01 clashes:01 clashes:01 pathname:01 caml-list:01 bin:01 define:02 btw:03 aka:04 opt:04 complex:05 thu:05 X-Attachments: cset="UTF-8" type="application/pgp-signature" name="signature.asc" name="signature.asc" --=-1201788866-619324-54679-699-13-= Content-Type: text/plain; charset=UTF-8 Excerpts from Romain Bardou's message of Thu Jan 31 15:04:18 +0100 2008: > > 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. If there is name clashes you need a plugin that basically says: ... Pathname.define_context "bla" ["bla"; "bli"] ... -- Nicolas Pouillard aka Ertai --=-1201788866-619324-54679-699-13-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFHodfCj+FCNw9dwLkRAsuMAJ43i1bOw3l9u+lfjssXvH9awGRQGQCgnRhz DTtTNTUVbK8meAlueV6WkTM= =sqFD -----END PGP SIGNATURE----- --=-1201788866-619324-54679-699-13-=--