--- Imakefile.orig 1997-03-17 12:32:22 UTC +++ Imakefile @@ -1,24 +1,24 @@ # TOP10 DIR : directory for socre files # -SCORE_DIR = /usr/local/games/Xbat/Score +SCORE_DIR = /var/games/xbat/Score # IMAGE DIR : directory for image files -IMAGE_DIR = /usr/local/games/Xbat/Image +IMAGE_DIR = ${PREFIX}/lib/X11/Xbat/Image # MAP DIR : directory for map files -MAP_DIR = /usr/local/games/Xbat/Map +MAP_DIR = ${PREFIX}/lib/X11/Xbat/Map # DOMO_DIR : directory for domogram movement files -DOMO_DIR = /usr/local/games/Xbat/Domo +DOMO_DIR = ${PREFIX}/lib/X11/Xbat/Domo # UNION : Set 1 if you have Intel CPU or so. # If you don't know whether you have Intel CPU or not, # compile union_check.c and run. -UNION = 0 -#UNION = 1 +#UNION = 0 +UNION = 1 #BIN DIR -BINDIR = /usr/local/bin +BINDIR = ${PREFIX}/bin ####################################################################### @@ -48,9 +48,8 @@ DependTarget() CleanTarget() install:: - MakeDir($(DESTDIR)$(SCORE_DIR)) - chmod 777 $(DESTDIR)$(SCORE_DIR); - @case '${MFLAGS}' in *[i]*) set +e;; esac; for i in Score/?* ; do set -x; $(INSTALL) -c -m 0666 $$i $(DESTDIR)$(SCORE_DIR) ; \ + MakeDir($(DESTDIR)$(SCORE_DIR)) + @case '${MFLAGS}' in *[i]*) set +e;; esac; cd Score; for i in ?* ; do set -x; $(INSTALL) -c -m 0666 $$i $(DESTDIR)$(SCORE_DIR)/$$i.sample ; \ done; MakeDir($(DESTDIR)$(IMAGE_DIR))