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=2.5 required=5.0 tests=AWL,DNS_FROM_RFC_POST, 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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 90FB9BB84 for ; Tue, 10 Feb 2009 23:41:55 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvgBAJeQkUnRVdwKk2dsb2JhbACUCj8BAQEBCQkKCREDrn+PagEDAQOEFwaCNoFu X-IronPort-AV: E=Sophos;i="4.38,188,1233529200"; d="scan'208";a="22781672" Received: from mail-fx0-f10.google.com ([209.85.220.10]) by mail3-smtp-sop.national.inria.fr with ESMTP; 10 Feb 2009 23:41:55 +0100 Received: by fxm3 with SMTP id 3so137130fxm.3 for ; Tue, 10 Feb 2009 14:41:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=RemQ92lS6rD72U9zLiMZPYhH72Iw2G87w+PS8jG/RYk=; b=A4Vu9YYeBOax4Oqq32t2TfE235MVXBzo8EdxuYvAzNDeodhGrc9MAaR09K2LKYmZ/F TGQKxs7d5NgGBNFxEwVk0TcJWUOLZjj2gBld7c3DabR8ZNHAfwWvNVpKJq84gHfwn5Tq 4To5sGmJlNuAv+we5KEOVW5yTOdHcaKoGSNSQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=lUww+e2lVfav1WQLnmHuuOGfCpekEspsatjU1rLM5Z2923XmFG29Wp6kdK0VWttOsh rOYBlsBIR6bL3QyTxjIQ3TVLVoEwSA3SgKMo3zsES3C1quqPljMFfNldYIfF+5OJB/AF uj+B+QqSWeXDIzzQ8Fd0SBl3ynEznCpgCHNG0= Received: by 10.102.219.8 with SMTP id r8mr2029412mug.10.1234305595948; Tue, 10 Feb 2009 14:39:55 -0800 (PST) Received: from ?192.168.1.34? (162-219.76-83.cust.bluewin.ch [83.76.219.162]) by mx.google.com with ESMTPS id j10sm218690mue.26.2009.02.10.14.39.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Feb 2009 14:39:55 -0800 (PST) Sender: =?UTF-8?Q?Daniel_B=C3=BCnzli?= Message-Id: From: =?ISO-8859-1?Q?Daniel_B=FCnzli?= To: OCaml List In-Reply-To: <3a360f590902101433t1f955f6cw908c77bedb053d80@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: [Caml-list] ocamlbuild rules generating multiple files Date: Tue, 10 Feb 2009 23:39:13 +0100 References: <3a360f590902101433t1f955f6cw908c77bedb053d80@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Spam: no; 0.00; bunzli:01 buenzli:01 basename:01 caml-list:01 tar:01 argument:02 archives:02 tgz:02 arg:03 daniel:04 daniel:04 generated:05 problem:05 ecrit:06 specify:06 Le 10 f=E9vr. 09 =E0 23:33, Hezekiah M. Carty a =E9crit : > I've used the following rule under After_rules in myocamlbuild.ml for [...] Thanks but my problem is that the generated file do not have the same =20= basename as the dep i.e. I cannot specify the ~prods arg, the ~prods =20 are going to be discovered while the rule is executed and without =20 going through further "build" argument invocations. Maybe a good example is tar archives. Let's say I have a rule that =20 takes a .tgz and produces its files. How do I tell ocamlbuild that =20 these files now exist. Best, Daniel