blob: e83447ebf8f5e44d2eeef3b64d93a30e92e98a8e (
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
25
26
|
diff -uNr opentyrian.ORIG/Makefile opentyrian/Makefile
--- opentyrian.ORIG/Makefile 2009-10-25 00:45:41.958937396 +0100
+++ opentyrian/Makefile 2009-10-25 00:47:31.759940038 +0100
@@ -73,6 +73,10 @@
CFLAGS += -DHG_REV='"$(HG_REV)"'
endif
+ifneq ($(DATA_PATH), )
+ CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\"
+endif
+
# RULES ####################################################
.PHONY : all
diff -uNr opentyrian.ORIG/src/file.c opentyrian/src/file.c
--- opentyrian.ORIG/src/file.c 2009-10-25 00:45:41.967228200 +0100
+++ opentyrian/src/file.c 2009-10-25 00:50:21.542979700 +0100
@@ -34,7 +34,7 @@
#ifdef TARGET_MACOSX
tyrian_game_folder(),
#endif
- "/usr/share/opentyrian/data"
+ DATA_PATH
};
static const char *dir = NULL;
|