Fix system install of package and use ../share/oolite folder for Resources and AddOns#680
Open
mcarans wants to merge 11 commits into
Open
Fix system install of package and use ../share/oolite folder for Resources and AddOns#680mcarans wants to merge 11 commits into
mcarans wants to merge 11 commits into
Conversation
…lace) lowercase local variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix system installation of Oolite with meson - separate assembling folder after compilation (post build) from installation which now has a separate install script
Use
../share/oolitefolder for Resources and AddOns for system install, Arch packages, appimage and flatpak (will also help with anyone wanting to make Debian or Fedora packages in future)Fixes #679
Lower case local variables in scripts
Fixes #678
Note that like Windows, Linux now changes directory to where the executable resides in the ObjC
Main things to test are debug console works, folders are found correctly eg. for addons etc. (worked for me on Linux)
If you've built snapshot, you can do something like the line below to install:
That would install oolite and run_oolite.sh to
/tmp/test/usr/local/bin, and Resources and AddOns to/tmp/test/usr/local/share/oolite(since the default prefix, bindir and datadir of meson are used - these can be overridden).