From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: OCaml List <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] ocamlbuild rules generating multiple files
Date: Tue, 10 Feb 2009 23:39:13 +0100 [thread overview]
Message-ID: <CCD807BD-A9DC-4AC4-95EB-580A73047727@erratique.ch> (raw)
In-Reply-To: <3a360f590902101433t1f955f6cw908c77bedb053d80@mail.gmail.com>
Le 10 févr. 09 à 23:33, Hezekiah M. Carty a écrit :
> 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
basename as the dep i.e. I cannot specify the ~prods arg, the ~prods
are going to be discovered while the rule is executed and without
going through further "build" argument invocations.
Maybe a good example is tar archives. Let's say I have a rule that
takes a .tgz and produces its files. How do I tell ocamlbuild that
these files now exist.
Best,
Daniel
next prev parent reply other threads:[~2009-02-10 22:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-10 22:15 Daniel Bünzli
2009-02-10 22:33 ` [Caml-list] " Hezekiah M. Carty
2009-02-10 22:39 ` Daniel Bünzli [this message]
2009-02-10 22:51 ` Hezekiah M. Carty
2009-02-10 22:59 ` Mikkel Fahnøe Jørgensen
2009-02-11 11:48 ` Romain Bardou
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=CCD807BD-A9DC-4AC4-95EB-580A73047727@erratique.ch \
--to=daniel.buenzli@erratique.ch \
--cc=caml-list@yquem.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).