caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Confused about "copy_rule"
@ 2009-12-28 23:20 lin hong
  2009-12-29  1:39 ` [Caml-list] " Daniel Bünzli
  0 siblings, 1 reply; 2+ messages in thread
From: lin hong @ 2009-12-28 23:20 UTC (permalink / raw)
  To: caml-list

Hi, all

Does anyone has any idea about what "copy_rule" of Signatures.PLUGIN does?
it says "copy_rule name ?insert source destination" in the documentation,
is "name" here the name of the rule in "source" file?

Thanks.
lin


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Confused about "copy_rule"
  2009-12-28 23:20 Confused about "copy_rule" lin hong
@ 2009-12-29  1:39 ` Daniel Bünzli
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Bünzli @ 2009-12-29  1:39 UTC (permalink / raw)
  To: lin hong; +Cc: caml-list

> Does anyone has any idea about what "copy_rule" of Signatures.PLUGIN does?

IIRC [copy src dst]  copies the file or pattern [src] from your source
tree (and maybe also from _build if it exists there but I'm not sure
anymore) to [dst] in the _build directory.

> it says "copy_rule name ?insert source destination" in the documentation,
> is "name" here the name of the rule in "source" file?

It is the name of the rule, the one that will be printed by ocamlbuild
-documention.

Best,

Daniel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-29  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-28 23:20 Confused about "copy_rule" lin hong
2009-12-29  1:39 ` [Caml-list] " Daniel Bünzli

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).