blob: 26f3f4371b851c5352a53c7f2dfa11047e529207 (
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
|
--- a/bmp/Makefile.am
+++ b/bmp/Makefile.am
@@ -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\
--- a/configure.in
+++ b/configure.in
@@ -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")
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,6 +1,4 @@
-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)
--- a/wav/Makefile.am
+++ b/wav/Makefile.am
@@ -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 \
|