[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cameleon-dev] Findlib and beyond...
From: |
Alan Schmitt |
Subject: |
Re: [cameleon-dev] Findlib and beyond... |
Date: |
Tue, 29 Jul 2003 07:40:40 -0400 |
User-agent: |
Mutt/1.5.4i |
* Jérôme Marant (address@hidden) wrote:
> Isn't there any way to automate the creation of META files? :P
How about this:
(from
http://www.ocaml-programming.de/packages/documentation/findlib/r416.html
)
THE "guess" SUBCOMMAND
Synopsis
ocamlfind guess package_name file ...
Description
This command is experimental: It tries to determine the META file by
inspecting the files to install for a package, and by comparing these
files with the current package base.
Simply call this command after you have built your library and before
you want to install it for the first time. The first argument must be
the package name, and the other arguments must be the files you are
going to install. The command inspects the .cmi and .cma/.cmxa files and
writes a META file to stdout. (Of course, it does not install any of
these files.)
Note that the generated META file is guessed and may be wrong.
Alan
--
The hacker: someone who figured things out and made something cool happen.
Re: [cameleon-dev] Findlib and beyond..., Sylvain LE GALL, 2003/07/28