Re: advice need on how to avoid -custom
Eric Cooper wrote:
> 2. Figure out "by hand" which OCaml libraries need to be installed for
> their runtime DLLs, and use conditional Makefile hackery to add them
> to the Depends on bytecode-only archs. This is "optimal" but very
> error-prone.
You can conditionally do something like this:
echo 'F:OCamlBytecodeDeps="libpcre-ocaml"' >> debian/substvars
in the build target of your debian/rules, and use ${F:OCamlBytecodeDeps}
in the Depends field of your debian/control.
> 3. Find or write an automated tool to accomplish (2).
This is something dh_ocaml might do...
Cheers,
--
Stéphane
Reply to: