From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 4E6AABC57 for ; Sat, 10 Jul 2010 14:24:47 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkcEALYDOEzRVaE2kGdsb2JhbACDHZBujDgIFQEBAQEJCQwHEQMfrB+CR4UiiQEBAQMFgSSDDHIEiEyHNw X-IronPort-AV: E=Sophos;i="4.55,179,1278280800"; d="scan'208";a="66147274" Received: from mail-fx0-f54.google.com ([209.85.161.54]) by mail4-smtp-sop.national.inria.fr with ESMTP; 10 Jul 2010 14:24:47 +0200 Received: by fxm13 with SMTP id 13so1971830fxm.27 for ; Sat, 10 Jul 2010 05:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=nBCxwJ2JzXs4ISUz5Nkg5jMKHCzRX+LhowKErzGOJ7A=; b=gVQtGZnNKEvV4u98RAslOeFYjdSTT65dFGA6xQJwQ/LNB5YnhPajgq0VwH0covZbQn bn5MuTRSDjstMxMdze1vwyYGOJ0H8iYmpsOfLDuDOSESFpgNfKm7DEpMsqILOuvsubIE AoQmvLO31wgufBrLEWQ88W+9xahgMz3N+Chd8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=jvzH8xpJZNE3IYEZ8Zau+n3n7R2IydonDDIxPv1WNt3X/LcuUsSSOed7VSnPGrYPyz I3Wsr3nLrJQ//41xDHqieCGMvR4sNSwr03d/F3DNFcD5W9iATehIBc6g0VudPzyhhK0N NraSS8bfGoOq2kqxJEOVnZwGCSQ33XsxAyNUI= MIME-Version: 1.0 Received: by 10.223.105.197 with SMTP id u5mr9402738fao.100.1278764683922; Sat, 10 Jul 2010 05:24:43 -0700 (PDT) Sender: daniel.c.buenzli@gmail.com Received: by 10.223.109.198 with HTTP; Sat, 10 Jul 2010 05:24:43 -0700 (PDT) Date: Sat, 10 Jul 2010 14:24:43 +0200 X-Google-Sender-Auth: aS0tAish69JMIX3aQlaxPUQgBKs Message-ID: Subject: ocamlbuild, knowing what is being built From: =?UTF-8?Q?Daniel_B=C3=BCnzli?= To: caml-list@inria.fr Content-Type: text/plain; charset=UTF-8 X-Spam: no; 0.00; buenzli:01 vice-versa:01 webpages:98 argument:02 dependent:04 dependent:04 daniel:04 daniel:04 mutually:06 target:91 sense:10 sense:10 rule:10 rule:10 targets:12 Hello, I have two mutually dependent targets t1 and t2. They are not dependent in the sense that one needs the other to be built, they are dependent in the sense that after the build the build artifacts of one target needs the artifacts of the other (e.g. think of two webpages each refering to the other). In other words if I build t1 I want t2 to be build and vice-versa. However doing so in my rule with the 'build' argument will result in a circular build, is there any way to get the targets that are already being built when a rule is invoked ? Thanks, Daniel