diff -ur geki3-KXL-1.0.3.orig/bmp/Makefile.am geki3-KXL-1.0.3/bmp/Makefile.am --- geki3-KXL-1.0.3.orig/bmp/Makefile.am 2003-12-31 11:38:53.283690616 -0500 +++ geki3-KXL-1.0.3/bmp/Makefile.am 2003-12-31 11:39:47.980375456 -0500 @@ -1,4 +1,4 @@ -bmpdir = $(prefix)/share/geki3/bmp +bmpdir = $(BMP_PATH) bmp_DATA = back1.bmp boss2.bmp enemyshot1.bmp missile.bmp\ pata.bmp back2.bmp boss3.bmp enemyshot2.bmp mogu.bmp\ pata_ball.bmp back3.bmp boss4.bmp frame.bmp mogu_ball.bmp\ diff -ur geki3-KXL-1.0.3.orig/configure.in geki3-KXL-1.0.3/configure.in --- geki3-KXL-1.0.3.orig/configure.in 2003-12-31 11:38:53.253695176 -0500 +++ geki3-KXL-1.0.3/configure.in 2003-12-31 11:40:53.636394224 -0500 @@ -25,9 +25,9 @@ BMP_PATH=/usr/local/share/geki3/bmp WAV_PATH=/usr/local/share/geki3/wav else - DATA_PATH=$prefix/share/geki3/data - BMP_PATH=$prefix/share/geki3/bmp - WAV_PATH=$prefix/share/geki3/wav + DATA_PATH=$datadir/geki3/data + BMP_PATH=$datadir/geki3/bmp + WAV_PATH=$datadir/geki3/wav fi AC_DEFINE_UNQUOTED(DATA_PATH,"$DATA_PATH") AC_DEFINE_UNQUOTED(BMP_PATH,"$BMP_PATH") diff -ur geki3-KXL-1.0.3.orig/data/Makefile.am geki3-KXL-1.0.3/data/Makefile.am --- geki3-KXL-1.0.3.orig/data/Makefile.am 2003-12-31 11:38:53.256694720 -0500 +++ geki3-KXL-1.0.3/data/Makefile.am 2003-12-31 11:40:11.304829600 -0500 @@ -1,6 +1,6 @@ -datadir = $(prefix)/share/geki3/data +datadir = $(DATA_PATH) data_DATA = stage1.dat stage2.dat stage3.dat stage4.dat EXTRA_DIST = stage1.dat stage2.dat stage3.dat stage4.dat .score install: - $(INSTALL) -c -m 666 ./.score $(DESTDIR)$(DATA_PATH) + $(INSTALL) -c -m 660 ./.score $(DESTDIR)$(DATA_PATH) diff -ur geki3-KXL-1.0.3.orig/wav/Makefile.am geki3-KXL-1.0.3/wav/Makefile.am --- geki3-KXL-1.0.3.orig/wav/Makefile.am 2003-12-31 11:38:53.274691984 -0500 +++ geki3-KXL-1.0.3/wav/Makefile.am 2003-12-31 11:40:26.678492448 -0500 @@ -1,4 +1,4 @@ -wavdir = $(prefix)/share/geki3/wav +wavdir = $(WAV_PATH) wav_DATA = bgm1.wav bgm2.wav bgm3.wav bgm4.wav boom.wav boss.wav go.wav \ laser.wav open.wav pow.wav warning.wav EXTRA_DIST = bgm1.wav bgm2.wav bgm3.wav bgm4.wav boom.wav boss.wav go.wav \