--- Makefile.old 2006-07-28 00:02:20.000000000 +0200 +++ Makefile 2006-07-28 00:02:59.000000000 +0200 @@ -6,8 +6,8 @@ # James Gregory and Everton da Silva Marques # -INSTALL_DIR=/usr/local/share -INSTALL_BIN_DIR=/usr/local/bin +INSTALL_DIR="${GAMES_DATADIR}" +INSTALL_BIN_DIR="${GAMES_BINDIR}" CXX = g++ CXXFLAGS = $(shell sdl-config --cflags) -O3 --- Main.cpp.old 2006-07-28 00:04:46.000000000 +0200 +++ Main.cpp 2006-07-28 00:08:28.000000000 +0200 @@ -184,7 +184,7 @@ #ifndef WIN32 string settingsPath = userHomePath + "settings.dat"; if (!DoesFileExist(settingsPath)) - settingsPath = "settings.dat"; + settingsPath = "@GAMES_DATADIR@/galaxyhack/settings.dat"; #else string settingsPath = "settings.dat"; #endif