Executable programs are installed in one of the following directories.
bindir: The directory for installing executable programs that users can run. This should normally be /usr/local/bin, but write it as $(exec_prefix)/bin.
GNU expects downstream packagers (“installers”) to change the install location, which is why the prefix variable exists. /usr/local/ is an appropriate default for “from-source” installs, to avoid conflicts with packages.
Why are you installing to /usr/local? Packages are supposed to go to /usr directly.
It’s the filesystem location specified in the GNU Coding Standard
https://wiki.archlinux.org/index.php/arch_packaging_standards
Arch users expect packages to install in /usr, so it makes more sense to follow the Arch packaging standards here.
Fair enough, I can make that adjustment. Thanks for sharing that link.
GNU expects downstream packagers (“installers”) to change the install location, which is why the
prefix
variable exists./usr/local/
is an appropriate default for “from-source” installs, to avoid conflicts with packages.Thanks a lot for doing this! If anyone else needs help packaging it for a distro you use, let me know. And you can add links here:
https://github.com/oilshell/oil/wiki/Oil-Deployments