summary refs log tree commit diff stats
path: root/share/sounds/Makefile.am
blob: f1dc0fc51e669e22c4d19391b375a1e36dbe79c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
sound_DATA = beep.wav
sounddir = $(datadir)/sounds/freedesktop/stereo

UPDATE_SOUND_CACHE = touch -m $(datadir)/sounds/freedesktop || :

install-data-hook:
	mv $(DESTDIR)$(datadir)/sounds/freedesktop/stereo/beep.wav $(DESTDIR)$(datadir)/sounds/freedesktop/stereo/hexchat_beep.wav
	$(UPDATE_SOUND_CACHE);

uninstall-hook:
	$(UPDATE_SOUND_CACHE);