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

Re: Questions Regarding Debian OCaml Packaging and FHS Compliance for Shared Files



Hi,

On Sat, Sep 21, 2024 at 1:40 AM Bo YU <tsu.yubo@gmail.com> wrote:
>
> Hi team,
>
> I have one question need to help to understand.
>
> Do we have one OCaaml package as an example to build some binary files
> that need to be installed under `/usr/share/ocaml/` dir?
>
> The reason for asking this question is that I have one package(lem)
> which generated some binary files as I said above. If I install `lem`
> via opam, we can get some files like:
>
> ```
> ...

> /home/vimer/.opam/default/share/lem/library/word.lem
> ```
>
> So I wonder if we have Debian OCaml rule to obey FHS. Certainly, the
> directory we put should be callee by `$(shell ocamlfind query lem)`
> command.

In the past two days I am thinking the question.

I would like to put these share files into `/usr/share/ocaml/lem`
unless there is a better suggestion. Is that okay?

BR,
Bo

>
> TIA.
>
> BR,
> Bo


Reply to: