caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: ygrek <ygrek@autistici.org>
To: caml-list@inria.fr
Subject: Re: [Caml-list] pre-process myocamlbuild.ml with ocamlbuild ...
Date: Tue, 30 Jun 2015 13:20:27 -0700	[thread overview]
Message-ID: <20150630132027.5c4fcbfd@kiwi.local.tld> (raw)
In-Reply-To: <20150630201202.GA23568@pps.univ-paris-diderot.fr>

On Tue, 30 Jun 2015 22:12:02 +0200
Pietro Abate <Pietro.Abate@pps.univ-paris-diderot.fr> 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 ...

-- 

      reply	other threads:[~2015-06-30 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-30 17:08 Pietro Abate
2015-06-30 18:03 ` ygrek
2015-06-30 20:12   ` Pietro Abate
2015-06-30 20:20     ` ygrek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150630132027.5c4fcbfd@kiwi.local.tld \
    --to=ygrek@autistici.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).