Hi,
It's been a while since last activity on this bug report, I thought it
would be nice to give a status update on this matter...
In dh-ocaml 1.2.0 (released on 2023-07-15), I added an "ocaml_dune" DH
buildsystem, which takes care of calling dune with the proper arguments
during Debian package creation, and have been migrating more and more
packages to it since then.
At the moment, ocaml_dune does not specify docdir to dune, and
installation of doc into the proper location is done with other tools
from the Debian toolchain.
However, this breaks the "(package foo)" dependency specification in
Dune, see https://github.com/ocaml/dune/issues/14364
Therefore, I think the configured paths built into dune do not matter
anymore as far as Debian package building is concerned, and something
that installs into /usr/local by default could be suitable.
This is what I am planning to do to fix this bug. Any thoughts?
Cheers,
--
Stéphane