File gnome-audio-install-novell-sounds.diff of Package gnome-audio

Index: gnome-audio-2.22.2/sounds/Makefile
===================================================================
--- gnome-audio-2.22.2.orig/sounds/Makefile
+++ gnome-audio-2.22.2/sounds/Makefile
@@ -1,5 +1,8 @@
 datadir=/usr/share
 
+
+novell_prefix=$(shell gnome-config --novell-prefix)
+RM_F=rm -f 
 LN_S=ln -sf
 INSTALL_DATA=install -c -m 444 
 # Which one is more portable
@@ -8,7 +11,7 @@ MKINSTALLDIRS=mkdir -p
 
 all:
 
-install: install-files install-default-links
+install: install-files clean-unwanted-files install-default-links 
 
 install-files:
 	for I in *.wav */*.wav ; do \
@@ -17,5 +20,11 @@ install-files:
 	done
 
 install-default-links: install-files
-	$(LN_S) startup3.wav $(DESTDIR)/$(datadir)/sounds/login.wav
-	$(LN_S) shutdown1.wav $(DESTDIR)/$(datadir)/sounds/logout.wav
+	$(LN_S) login.wav $(DESTDIR)/$(datadir)/sounds/startup3.wav
+	$(LN_S) logout.wav $(DESTDIR)/$(datadir)/sounds/shutdown1.wav
+
+
+clean-unwanted-files:
+	$(RM_F) $(prefix)/share/sounds/startup3.wav
+	$(RM_F) $(prefix)/share/sounds/shutdown1.wav
+