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: