From 02cdc57eb58ff364e0c614308be7c7383e311deb Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 17 Apr 2013 03:45:41 -0400 Subject: Install sound file on unix for #542 --- share/sounds/Makefile.am | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 share/sounds/Makefile.am (limited to 'share/sounds') diff --git a/share/sounds/Makefile.am b/share/sounds/Makefile.am new file mode 100644 index 00000000..b71011c9 --- /dev/null +++ b/share/sounds/Makefile.am @@ -0,0 +1,11 @@ +sound_DATA = beep.wav +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 + $(UPDATE_SOUND_CACHE); + +uninstall-hook: + $(UPDATE_SOUND_CACHE); -- cgit 1.4.1