25 lines
901 B
Plaintext
25 lines
901 B
Plaintext
$OpenBSD: patch-sounds_Makefile,v 1.2 2007/05/31 11:43:06 jasper Exp $
|
|
--- sounds/Makefile.orig Tue Jul 1 13:04:30 2003
|
|
+++ sounds/Makefile Thu May 31 13:38:16 2007
|
|
@@ -1,5 +1,3 @@
|
|
-prefix=$(shell gnome-config --prefix)
|
|
-
|
|
LN_S=ln -sf
|
|
INSTALL_DATA=install -c -m 444
|
|
# Which one is more portable
|
|
@@ -12,10 +10,10 @@ install: install-files install-default-links
|
|
|
|
install-files:
|
|
for I in *.wav */*.wav ; do \
|
|
- $(MKINSTALLDIRS) $(prefix)/share/sounds/`dirname $$I`; \
|
|
- $(INSTALL_DATA) $$I $(prefix)/share/sounds/$$I; \
|
|
+ $(MKINSTALLDIRS) $(PREFIX)/share/sounds/`dirname $$I`; \
|
|
+ $(INSTALL_DATA) $$I $(PREFIX)/share/sounds/$$I; \
|
|
done
|
|
|
|
install-default-links:
|
|
- $(LN_S) startup3.wav $(prefix)/share/sounds/login.wav
|
|
- $(LN_S) shutdown1.wav $(prefix)/share/sounds/logout.wav
|
|
+ $(LN_S) startup3.wav $(PREFIX)/share/sounds/login.wav
|
|
+ $(LN_S) shutdown1.wav $(PREFIX)/share/sounds/logout.wav
|