[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: BCP for OCaml library packages



On Mon, Oct 31, 2005 at 06:24:33PM +0100, Florian Weimer wrote:
> Or is there some Debian-specifc way of doing this that I'm missing?

I don't understand your role: are you the upstream author of that
library or are you trying to create the debian package of a library
developed by someone else?

In the former case debian ocaml packaging has no need of OCamlMakefile
to be used. The only "requirement" is that the used makefile is able to
distinguish native code compilation from bytecode one. Usually there are
two approaches: a Makefile which decide that by himself, or one which
has different targets like "all" (for bytecode compilation) and "opt"
(for native code compilation).

If you're a packager you should have a look at the debian ocaml policy
for information about how to split the library in two binary packages if
needed. Have a look at
/usr/share/doc/ocaml-nox/ocaml_packaging_policy.gz in the ocaml-nox
debian packages.

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

Attachment: signature.asc
Description: Digital signature


Reply to: