blob: a6f80b9940832fc5a06f033471058819418631ff (
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
|
--- Imakefile.orig Thu Jan 9 18:29:36 1997
+++ Imakefile Sat Mar 28 11:11:19 1998
@@ -6,7 +6,7 @@
SHIPS = 5
/* RECORDS */
-HSCORE_DIR = /usr/local/games/xkobo-scores
+HSCORE_DIR = $(LIBDIR)/xkobo-scores
/* C++ COMPILER */
/* CXX = g++ */
@@ -69,15 +69,15 @@
#ifdef SECURE_SCOREFILES
install::
- if [ -d $(HSCORE_DIR) ]; then chmod 755 $(HSCORE_DIR); \
- else mkdirhier $(HSCORE_DIR); chmod 755 $(HSCORE_DIR); fi
- chown $(XKOBO_ADMINISTER) $(BINDIR)/xkobo
- chown -R $(XKOBO_ADMINISTER) $(HSCORE_DIR)
- chmod 4755 $(BINDIR)/xkobo
+ if [ -d $(HSCORE_DIR) ]; then chmod 775 $(HSCORE_DIR); \
+ else $(MKDIRHIER) $(HSCORE_DIR); chmod 775 $(HSCORE_DIR); fi
+ chgrp $(XKOBO_ADMINISTER) $(BINDIR)/xkobo
+ chgrp -R $(XKOBO_ADMINISTER) $(HSCORE_DIR)
+ chmod 2755 $(BINDIR)/xkobo
#else /* SECURE_SCOREFILES */
install::
if [ -d $(HSCORE_DIR) ]; then chmod 777 $(HSCORE_DIR); \
- else mkdirhier $(HSCORE_DIR); chmod 777 $(HSCORE_DIR); fi
+ else $(MKDIRHIER) $(HSCORE_DIR); chmod 777 $(HSCORE_DIR); fi
#endif /* SECURE_SCOREFILES */
clean::
|