From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id C76537EEBF for ; Tue, 30 Jun 2015 22:20:33 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of ygrek@autistici.org) identity=pra; client-ip=94.23.50.208; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ygrek@autistici.org"; x-sender="ygrek@autistici.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of ygrek@autistici.org designates 94.23.50.208 as permitted sender) identity=mailfrom; client-ip=94.23.50.208; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ygrek@autistici.org"; x-sender="ygrek@autistici.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@perdizione.investici.org designates 94.23.50.208 as permitted sender) identity=helo; client-ip=94.23.50.208; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ygrek@autistici.org"; x-sender="postmaster@perdizione.investici.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DOEQCM+ZJVf9AyF15bg2VfvzCGAAKBVUwBAQEBAQESAQEJDQoIIS5BAQICg1wBAQEDAToGAQE4BAsLCQ8JJQ9IGYgnDLFehVQBBZIUAQEBBwEBAQEYBotKhQ0WhBWNB4cFgS+DK4Z8AYF+hjmQBoRATwGCRwEBAQ X-IPAS-Result: A0DOEQCM+ZJVf9AyF15bg2VfvzCGAAKBVUwBAQEBAQESAQEJDQoIIS5BAQICg1wBAQEDAToGAQE4BAsLCQ8JJQ9IGYgnDLFehVQBBZIUAQEBBwEBAQEYBotKhQ0WhBWNB4cFgS+DK4Z8AYF+hjmQBoRATwGCRwEBAQ X-IronPort-AV: E=Sophos;i="5.15,380,1432591200"; d="scan'208";a="138484100" Received: from perdizione.investici.org ([94.23.50.208]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Jun 2015 22:20:33 +0200 Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: ygrek@autistici.org) by localhost (Postfix) with ESMTPSA id C69BC1207F9 for ; Tue, 30 Jun 2015 20:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1435695630; bh=INdg2AaoHBFCpZlm6eltwAI8UCfVaZY25PRPlWpwzzk=; h=Date:From:To:Subject:In-Reply-To:References; b=UXzR+1CYTsseVIcq+NXFkMiBvkfMX4svI8LDAOehlP919XxsGPs7DeggLynLo8X/l 3q8ZsjDlW/23KTLMMSl0Tf1GQ2nsp5F2+xvDI3LGhFjI3iYU0gFRAWnS06N9N/FnQL xgCYqtwp7iwKgk0bVtMFUaMdu7Tx0KhU4pe2yO98= Date: Tue, 30 Jun 2015 13:20:27 -0700 From: ygrek To: caml-list@inria.fr Message-ID: <20150630132027.5c4fcbfd@kiwi.local.tld> In-Reply-To: <20150630201202.GA23568@pps.univ-paris-diderot.fr> References: <20150630170800.GA30250@pps.univ-paris-diderot.fr> <20150630110342.50001508@kiwi.local.tld> <20150630201202.GA23568@pps.univ-paris-diderot.fr> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] pre-process myocamlbuild.ml with ocamlbuild ... On Tue, 30 Jun 2015 22:12:02 +0200 Pietro Abate wrote: > On 30/06/15 11:03, ygrek wrote: > > Probably you are not calling ocamlbuild directly, but through make or shell script, so just put > > preprocessing step there to generate real myocamlbuild.ml > > You are suggesting something along these lines : No, I thought of something like: myocamlbuild.ml: myocamlbuild.ml.pp cppo $< -o $@ build: myocamlbuild.ml ocamlbuild ... --