summaryrefslogtreecommitdiff
path: root/data/sounds/Makefile.am
blob: faf6311bfa52f4efc2cdeee1a54f8d143c2ed068 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
NULL =

sounddir = $(datadir)/sounds/mate/default/alerts

sound_DATA =			\
	bark.ogg		\
	drip.ogg		\
	glass.ogg		\
	sonar.ogg		\
	$(NULL)

metadata_in_files = mate-sounds-default.xml.in
metadatadir = $(pkgdatadir)/sounds
metadata_DATA = $(metadata_in_files:.xml.in=.xml)
$(metadata_DATA): $(metadata_in_files)
	$(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@

noinst_DATA = mate-sounds-default.xml.in
CLEANFILES = mate-sounds-default.xml mate-sounds-default.xml.in

EXTRA_DIST = $(sound_DATA) mate-sounds-default.xml.in.in

mate-sounds-default.xml.in: mate-sounds-default.xml.in.in Makefile
	$(AM_V_GEN)sed -e 's^\@datadir\@^$(datadir)^g' < $(srcdir)/mate-sounds-default.xml.in.in > mate-sounds-default.xml.in.tmp \
	&& mv mate-sounds-default.xml.in.tmp mate-sounds-default.xml.in

MAINTAINERCLEANFILES = \
	Makefile.in

-include $(top_srcdir)/git.mk