From 4c3e64bc1763c8dc59320d23e613863308aa9e26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 13 Dec 2016 19:42:39 +0100 Subject: [PATCH 1/1] Add info for packagers and tweak Mac info Also document previous commit. --- COMPILING.md | 22 ++++++++++++++++++++-- RELEASE-NOTES.md | 2 ++ 2 files changed, 22 insertions(+), 2 deletions(-) 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`) -- 2.39.2