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
|
From: =?utf-8?q?Gon=C3=A9ri_Le_Bouder?= <[email protected]>
Date: Sat, 10 Aug 2013 21:55:18 0200
Subject: 20_data_in_usr_games
---
Makefile | 4 --
main.cc | 2 -
2 files changed, 3 insertions( ), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 2bcdf41..afbcc50 100644
--- a/Makefile
b/Makefile
@@ -22,7 22,7 @@ clean:
rm -f *.o models/*.o block/*.o tweak/*.o math/*.o elements/*.o $(TARGET)
install:
- mkdir -p $(DESTDIR)/share/enemylines7/
mkdir -p $(DESTDIR)/share/games/enemylines7/
mkdir -p $(DESTDIR)/bin/
cp enemylines7 $(DESTDIR)/bin/
- cp data/* $(DESTDIR)/share/enemylines7/
cp data/* $(DESTDIR)/share/games/enemylines7/
diff --git a/main.cc b/main.cc
index 90d9199..e31a03e 100644
--- a/main.cc
b/main.cc
@@ -38,7 38,7 @@ std::string load_audio(std::string dir) {
path ="/";
std::cout << " Looking in " << path << std::endl;
if (Audio::load(path)) return path;
- path="/usr/share/";
path="/usr/share/games/";
path =PATHNAME;
path ="/";
std::cout << " Looking in " << path << std::endl;
|