in fremantle additional software shall be in /home/opt/ where there is more space
authorReto Zingg <g.d0b3rm4n@gmail.com>
Thu, 8 Oct 2009 12:14:06 +0000 (15:14 +0300)
committerReto Zingg <g.d0b3rm4n@gmail.com>
Thu, 8 Oct 2009 12:14:06 +0000 (15:14 +0300)
Makefile
src/Makefile
src/play.h

index 88fb75f..810fb49 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,6 @@ install:
        mkdir -p $(DESTDIR)/usr/share/dbus-1/services
        cp maemo/mancala.desktop $(DESTDIR)/usr/share/applications/hildon
        cp res/icon.png $(DESTDIR)/usr/share/icons/hicolor/48x48/apps/mancala.png
-       cp res/pick.wav $(DESTDIR)/usr/share/pixmaps/mancala
        cp maemo/com.nokia.mancala.service $(DESTDIR)/usr/share/dbus-1/services/
 
 clean:
index 79725a0..2dc1417 100644 (file)
@@ -51,14 +51,16 @@ ai-test-ultimate:   $(TEST_OBJ) $(ULTIMATE)
        $(CC) $(TEST_OBJ) $(ULTIMATE) $(LFLAGS) -o ai-test
 
 install:       all
-       mkdir -p $(DESTDIR)/usr/share/pixmaps/mancala
-       mkdir -p $(DESTDIR)/usr/bin/
-       cp ../res/*.png $(DESTDIR)/usr/share/pixmaps/mancala
-       cp ./mancala $(DESTDIR)/usr/bin/
+       mkdir -p $(DESTDIR)/home/opt/mancala/bin/
+       cp ./mancala $(DESTDIR)/home/opt/mancala/bin/
+       mkdir -p $(DESTDIR)/home/opt/mancala/data/
+       cp ../res/*.png $(DESTDIR)/home/opt/mancala/data/
+       cp ../res/pick.wav $(DESTDIR)/home/opt/mancala/data/
+
 
 uninstall:
-       rm -rf $(DESTDIR)/usr/share/pixmaps/mancala
-       rm $(DESTDIR)/usr/bin/mancala
+       rm -rf $(DESTDIR)/home/opt/mancala/
+
 
 clean:
        rm -f *.o *.core *.swp *~ *.log
index 22b05ad..ccf4d91 100644 (file)
@@ -21,7 +21,7 @@
 */
 
 /* path to resource files */
-#define RES_PATH "/usr/share/pixmaps/mancala"
+#define RES_PATH "/home/opt/mancala/data"
 #define FONT_PATH "/usr/share/fonts/"
 
 /* various constants */