caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Nicolas Pouillard <nicolas.pouillard@gmail.com>
To: Vincent Aravantinos <vincent.aravantinos@gmail.com>,
	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 05:45:07 -0800 (PST)	[thread overview]
Message-ID: <4b828a63.1067f10a.27f2.ffffbdf8@mx.google.com> (raw)
In-Reply-To: <2511B816-C3D0-4DA1-8465-19DF43CDF587@gmail.com>

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.

-- 
Nicolas Pouillard
http://nicolaspouillard.fr


  reply	other threads:[~2010-02-22 13:45 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 ` Nicolas Pouillard [this message]
2010-02-22 14:30   ` [Caml-list] " Vincent Aravantinos
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=4b828a63.1067f10a.27f2.ffffbdf8@mx.google.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=vincent.aravantinos@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;
as well as URLs for NNTP newsgroup(s).