From: RĂ©mi Verschelde Date: Tue, 13 Dec 2016 18:42:39 +0000 (+0100) Subject: Add info for packagers and tweak Mac info X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=4c3e64bc1763c8dc59320d23e613863308aa9e26;hp=88891f52b571983a2f7407a39bed6eb6269af708;p=lugaru.git Add info for packagers and tweak Mac info Also document previous commit. --- diff --git a/COMPILING.md b/COMPILING.md index 5b9ab9e..fe67087 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -34,10 +34,28 @@ The resulting `lugaru` binary will expect to find the `Data/` folder next to it, so either copy `build/lugaru` in the main directory, or create a symbolic link to run the game. +### Packaging + +If you want to package Lugaru for a GNU/Linux distribution, or if you want to +install it system-wide locally, you need to set the `SYSTEM_INSTALL` CMake +option, and (optionally) define the CMAKE_INSTALL_BINDIR and _DATADIR if they +differ from the default ones (`bin` and `share` appended to the prefix). +Example: + +``` +mkdir build && cd build +cmake -DSYSTEM_INSTALL=ON \ + -DCMAKE_INSTALL_BINDIR=games \ + -DCMAKE_INSTALL_DATADIR=share/games \ + .. +make +sudo make install +``` + ## Mac OSX -The instructions should be similar to the GNU/Linux ones, but have not been -tested in a Mac environment recently. +The instructions are similar to the GNU/Linux ones, provided you have +installed Xcode and the required dependencies (e.g. via homebrew). ## Windows diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 5e24345..f8467f4 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -50,6 +50,8 @@ therefore more advanced than the preceding Lugaru HD release by Wolfire. - Renamed debug mode to devtools and improved the corresponding documentation Devtools are toggled with `--devtools` switch or adding a `Devtools: 1` entry to the config.txt (#32) +- Added automatic progress saving upon level completion, and not only when + closing the game. - Use standard directories to store game config and user data (#22): * Linux: XDG_CONFIG_HOME (default `~/.config/lugaru`) and XDG_DATA_HOME (default `~/.local/share/lugaru`)