blob: 8e59e35b0a9fb43eaef1b5cd688cd21f79536d34 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
--- client/Makefile.install.UNIX
+++ client/Makefile.install.UNIX
@@ -11,9 +11,9 @@
#
INSTALL = install
-INSTBINFLAGS = -m 0755 -s
+INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
-INSTLIBFLAGS = -m 0755 -s
+INSTLIBFLAGS = -m 0755
INSTINCFLAGS = -m 0644
INSTMANFLAGS = -m 0644
INSTCFGFLAGS = -m 0644
@@ -26,8 +26,10 @@
MKDIRFLAGS = -p
-GAMES_DIR = $(PREFIX)/games
-XSW_DIR = $(PREFIX)/share/games/xshipwars
+BINDIR = $(PREFIX)/games
+GAMES_DIR = $(DESTDIR)$(BINDIR)
+DATADIR = $(PREFIX)/share/games
+XSW_DIR = $(DESTDIR)$(DATADIR)/xshipwars
XSW_ETC_DIR = $(XSW_DIR)/etc
XSW_CFG_FILE = xsw.ini
--- monitor/Makefile.install.UNIX
+++ monitor/Makefile.install.UNIX
@@ -27,8 +27,10 @@
MKDIR = mkdir
MKDIRFLAGS = -p
-GAMES_DIR = $(PREFIX)/games
-XSW_DIR = $(PREFIX)/share/games/xshipwars
+BINDIR = $(PREFIX)/games
+GAMES_DIR = $(DESTDIR)$(BINDIR)
+DATADIR = $(PREFIX)/share/games
+XSW_DIR = $(DESTDIR)$(DATADIR)/xshipwars
MONITOR_IMAGES_DIR = $(XSW_DIR)/images/monitor
HR = "-------------------------------------------------------------------------"
--- server/Makefile.install.UNIX
+++ server/Makefile.install.UNIX
@@ -29,7 +29,7 @@
MKDIRFLAGS = -p
-SWSERV_BASE_DIR = $(PREFIX)/swserv
+SWSERV_BASE_DIR = $(DESTDIR)$(PREFIX)/swserv
SWSERV_BIN_DIR = $(SWSERV_BASE_DIR)/bin
SWSERV_DB_DIR = $(SWSERV_BASE_DIR)/db
--- unvedit/Makefile.install.UNIX
+++ unvedit/Makefile.install.UNIX
@@ -26,8 +26,10 @@
MKDIR = mkdir
MKDIRFLAGS = -p
-GAMES_BIN_DIR = $(PREFIX)/games
-XSW_DATA_DIR = $(PREFIX)/share/games/xshipwars
+BINDIR = $(PREFIX)/games
+GAMES_BIN_DIR = $(DESTDIR)$(BINDIR)
+DATADIR = $(PREFIX)/share/games
+XSW_DATA_DIR = $(DESTDIR)$(DATADIR)/xshipwars
UNVEDIT_IMAGES_DIR = $(XSW_DATA_DIR)/images/unvedit
HR = "-------------------------------------------------------------------------"
|