summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--share/sounds/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/sounds/Makefile.am b/share/sounds/Makefile.am
index b71011c9..f1dc0fc5 100644
--- a/share/sounds/Makefile.am
+++ b/share/sounds/Makefile.am
@@ -4,7 +4,7 @@ sounddir = $(datadir)/sounds/freedesktop/stereo
 UPDATE_SOUND_CACHE = touch -m $(datadir)/sounds/freedesktop || :
 
 install-data-hook:
-	mv -f $(datadir)/sounds/freedesktop/stereo/beep.wav $(datadir)/sounds/freedesktop/stereo/hexchat_beep.wav
+	mv $(DESTDIR)$(datadir)/sounds/freedesktop/stereo/beep.wav $(DESTDIR)$(datadir)/sounds/freedesktop/stereo/hexchat_beep.wav
 	$(UPDATE_SOUND_CACHE);
 
 uninstall-hook: