--- 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::