Version française
Home     About     Download     Resources     Contact us    
Browse thread
Pairing ocamlbuild with ocamlfind
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] Pairing ocamlbuild with ocamlfind
Phony targets are not so well integrated. Starts by creating an install file.

rule "install"
  ~prod:"install"
  ~deps:["META"; "foolib.cma"]
  begin fun _ _ -> ....
  end

Something like that.

On 5/23/07, Joel Reymont <joelr1@gmail.com> wrote:
>
> On May 23, 2007, at 3:24 PM, Nicolas Pouillard wrote:
>
> > Hum, it seems that you just need to add some rules.
>
> ocamlbuild takes a target so I think I would need a fake "install"
> target, right?
>
> This target should depend on the META file and on the library being
> built, right?
>
> How do I create such a target and how do I refer to the library being
> built?
>
>         Thanks, Joel
>
> --
> http://wagerlabs.com/
>
>
>
>
>
>


-- 
Nicolas Pouillard