Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Confused about "copy_rule"
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-12-29 (01:39)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] Confused about "copy_rule"
> 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