caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: Romain Bardou <romain.bardou@lri.fr>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlbuild and packs
Date: Thu, 31 Jan 2008 15:14:26 +0100	[thread overview]
Message-ID: <1201788818-sup-143@ausone.inria.fr> (raw)
In-Reply-To: <47A1D562.70300@lri.fr>

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]

Excerpts from Romain Bardou's message of Thu Jan 31 15:04:18 +0100 2008:
> > Using  -for-pack  is  a pain. If your project is not too complex, I can advise
> > to use your _tags that way:
> > 
> > $ cat _tags
> > <bl{a,i}/**/*.ml>: for-pack(Blabli)
> > # This is to avoid -I bli
> > "bli": include
> > 
> > If you need more precise scoping, plugin is your last option.
> 
> I want to pack all the files in bla and bli together anyway, so this 
> solution would be great; however, now ocamldep gives me an error:
> 
>     /usr/local/bin/ocamldep.opt: unknown option `-for-pack'.
> 
> Btw, wouldn't the line including "bli" result in the same problem as 
> before, with name clashes between the files in "/bli" and the files in "/"?
> 
> I'll investigate and try to add the include option only on the files in 
> bl{a,i}, using some tags or some plugin.

If there is name clashes you need a plugin that basically says:

...
Pathname.define_context "bla" ["bla"; "bli"]
...

-- 
Nicolas Pouillard aka Ertai

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

  parent reply	other threads:[~2008-01-31 14:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31 11:55 Romain Bardou
2008-01-31 13:01 ` [Caml-list] " Nicolas Pouillard
2008-01-31 13:42   ` Romain Bardou
2008-01-31 13:50     ` Nicolas Pouillard
2008-01-31 14:04       ` Romain Bardou
2008-01-31 14:11         ` Romain Bardou
2008-01-31 14:13           ` Nicolas Pouillard
2008-01-31 14:14         ` Nicolas Pouillard [this message]
2008-01-31 14:35           ` Romain Bardou
2008-01-31 14:42             ` 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=1201788818-sup-143@ausone.inria.fr \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=romain.bardou@lri.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).