summaryrefslogtreecommitdiff
blob: c20529e410faf079041613a655a95ec96ccf48df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- 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 <evertonsm@yahoo.com.br>
 #
 
-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