English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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