summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Riedi <andrewriedi@gmail.com>2007-07-09 00:16:38 -0700
committerAndrew Riedi <andrewriedi@gmail.com>2007-07-09 00:16:38 -0700
commit4f82c026495d452540c090ca424379164b6da755 (patch)
tree6c9bfea1b037d7684bb2933642d97518510aec18
parent7ebbf616bb4f9bc982b6c01a51a8dcaddb2b2f2c (diff)
downloadsound-4f82c026495d452540c090ca424379164b6da755.tar.gz
sound-4f82c026495d452540c090ca424379164b6da755.tar.bz2
Add stub 'data' directory to put Ogg Vorbis files in.
-rw-r--r--Makefile4
-rw-r--r--data/Makefile28
-rw-r--r--data/movedown.ogg0
-rw-r--r--data/moveleft.ogg0
-rw-r--r--data/moveright.ogg0
-rw-r--r--data/moveup.ogg0
-rw-r--r--data/new.ogg0
7 files changed, 32 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e1dc2b1..d8664c6 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ all:
cd ogg && make all
cd sound && make all
cd soundeffects && make all
+ cd data && make all
clean:
cd alsa && make clean
@@ -11,6 +12,7 @@ clean:
cd ogg && make clean
cd sound && make clean
cd soundeffects && make clean
+ cd data && make clean
install:
cd alsa && make install
@@ -18,6 +20,7 @@ install:
cd ogg && make install
cd sound && make install
cd soundeffects && make install
+ cd data && make install
uninstall:
cd alsa && make uninstall
@@ -25,3 +28,4 @@ uninstall:
cd ogg && make uninstall
cd sound && make uninstall
cd soundeffects && make uninstall
+ cd data && make uninstall
diff --git a/data/Makefile b/data/Makefile
new file mode 100644
index 0000000..ce0a2d3
--- /dev/null
+++ b/data/Makefile
@@ -0,0 +1,28 @@
+SOUNDS_DIR = ~/.compiz/sounds/default
+
+ECHO = `which echo`
+
+all:
+ @if \
+ ! [ -s new.ogg ] || \
+ ! [ -s moveleft.ogg ] || \
+ ! [ -s moveright.ogg ] || \
+ ! [ -s moveup.ogg ] || \
+ ! [ -s movedown.ogg ]; \
+ then \
+ $(ECHO) -e -n "\033[0;32mPlease replace the empty Ogg Vorbis files with ones of your own.\n\033[0m"; \
+ exit 0; \
+ fi;
+
+clean:
+
+install:
+ @$(ECHO) -e -n "\033[0;34m";
+ @mkdir -p $(SOUNDS_DIR)
+ @cp -v *.ogg $(SOUNDS_DIR)
+ @$(ECHO) -e -n "\033[0m";
+
+uninstall:
+ @$(ECHO) -e -n "\033[0;34m";
+ @rm -rvf $(SOUNDS_DIR)/*.ogg
+ @$(ECHO) -e -n "\033[0m";
diff --git a/data/movedown.ogg b/data/movedown.ogg
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/data/movedown.ogg
diff --git a/data/moveleft.ogg b/data/moveleft.ogg
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/data/moveleft.ogg
diff --git a/data/moveright.ogg b/data/moveright.ogg
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/data/moveright.ogg
diff --git a/data/moveup.ogg b/data/moveup.ogg
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/data/moveup.ogg
diff --git a/data/new.ogg b/data/new.ogg
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/data/new.ogg