-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake doesn't install bash completion scripts on Linux #2396
Comments
Yeah that's an oversight. Thanks for the report :) |
@akien-mga Can already see the can of worms opening here because the manpage folder depends on the operating system/distribution... |
Well this is about the bash completion file, which are typically installed in
As for multiple operating systems, I guess it's uncommon to have bash on Windows, and macOS defaults to zsh IIRC. Might be good to look into whether Windows and macOS can consume bash-completion scripts when configured to use this shell, but otherwise making the installation of the script Linux-specific should also be OK IMO. |
oh right bash completion. No idea why I researched manpages. The FAQ also mentions a bundled CMake script file. Will see if I can get something working. Yeah I will limit it to UNIX and make some testing on Apple. Makes no sense for Windows. |
Unconditionally on Unix as bash is usually available there. On other platforms depend on bash-completion package as a hint. Fix EasyRPG#2396
Name of the game:
n/a
Player platform:
Linux, packaging EasyRPG Player for Mageia
Attach files (as a .zip archive or link them)
n/a
Describe the issue in detail and how to reproduce it:
I'm packaging EasyRPG Player for the Mageia Linux distribution.
Since upgrading to 0.6.x and switching the buildsystem from autotools to CMake, the bash-completion script in
resources/unix/bash-completion/easyrpg-player
is no longer installed bymake install
.I'd suggest making CMake install it on Linux as autotools used to.
The text was updated successfully, but these errors were encountered: