From: Vincent Aravantinos <vincent.aravantinos@gmail.com>
To: Nicolas Pouillard <nicolas.pouillard@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocamlbuild - how to force the rebuilding of a target inside a plugin?
Date: Mon, 22 Feb 2010 15:30:14 +0100 [thread overview]
Message-ID: <4807FA06-9ECF-4EA9-81CA-23059F35E235@gmail.com> (raw)
In-Reply-To: <4b828a63.1067f10a.27f2.ffffbdf8@mx.google.com>
Le 22 févr. 10 à 14:45, Nicolas Pouillard a écrit :
> On Sun, 21 Feb 2010 23:15:09 +0100, Vincent Aravantinos <vincent.aravantinos@gmail.com
> > wrote:
>> Hi list,
>>
>> does anybody (Nicolas?) knows if it is possible to force a target to
>> be rebuilt from within an ocamlbuild plugin?
>>
>> Concretely I am making a plugin for LaTeX compilation and would like
>> to say to ocamlbuild:
>> "first compile the source, then if the .aux file has changed then
>> recompile it".
>
> I would suggest to not try to bypass the dependency system and to
> instead
> try to make a rule that fits ocamlbuild mechanism. However the simpler
> is maybe to call a tool which does this job like rubber.
Great, I didn't know of this tool! I'll use it.
Still, would have it been possible to make a dependency on the .aux
file such that ocamlbuild can be aware that this file changed in order
to launch a new compilation?
V.
next prev parent reply other threads:[~2010-02-22 14:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-21 22:15 Vincent Aravantinos
2010-02-22 13:45 ` [Caml-list] " Nicolas Pouillard
2010-02-22 14:30 ` Vincent Aravantinos [this message]
2010-02-22 16:11 ` Nicolas Pouillard
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=4807FA06-9ECF-4EA9-81CA-23059F35E235@gmail.com \
--to=vincent.aravantinos@gmail.com \
--cc=caml-list@yquem.inria.fr \
--cc=nicolas.pouillard@gmail.com \
/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