coqhammer icon indicating copy to clipboard operation
coqhammer copied to clipboard

Install non-user-facing programs in /usr/libexec

Open SnarkBoojum opened this issue 1 year ago • 1 comments

I'm packaging coqhammer for Debian, and there's something not satisfying with installing htimeout and predict in /usr/bin: they are not supposed to be called by the user directly.

According to the Filesystem Hierarchy Standard, they should rather be installed in /usr/libexec, see discussion here, where /usr/lib/ would also be an option.

SnarkBoojum avatar Jul 15 '22 14:07 SnarkBoojum

Thank you for pointing this out. I'll leave it for now, because it's a bit complicated to change.

The problem is that libexec is typically not on the path. So one would need to somehow hardcode the path to libexec during installation/configuration (which might end up e.g. somewhere in the home directory below ~/.opam/).

Currently, CoqHammer's build system doesn't support such path hardcoding.

lukaszcz avatar Aug 28 '22 17:08 lukaszcz