25 lines
901 B
Plaintext
25 lines
901 B
Plaintext
$OpenBSD: patch-sounds_Makefile,v 1.1.1.1 2007/04/23 17:42:48 jasper Exp $
|
|
--- sounds/Makefile.orig Thu Oct 19 13:02:39 2006
|
|
+++ sounds/Makefile Thu Oct 19 13:04:58 2006
|
|
@@ -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-l
|
|
|
|
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
|