summaryrefslogtreecommitdiff
path: root/data/sounds/Makefile.am
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-11-10 10:22:29 +0100
committerMichal Ratajsky <[email protected]>2014-11-10 10:22:29 +0100
commitb70459bd7ab6cbf64892fbaea6a931a80f0cc132 (patch)
tree488768eb7c736d014f29e08e7191323e2fcfa93a /data/sounds/Makefile.am
parentcf4eac60cdc4d02fdeccb3b85d524eda8a5f320e (diff)
parent194e26e0be4660dae0987445c0edcfa8349fde51 (diff)
downloadmate-media-b70459bd7ab6cbf64892fbaea6a931a80f0cc132.tar.bz2
mate-media-b70459bd7ab6cbf64892fbaea6a931a80f0cc132.tar.xz
Merge branch 'michal-wip'
Diffstat (limited to 'data/sounds/Makefile.am')
-rw-r--r--data/sounds/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/data/sounds/Makefile.am b/data/sounds/Makefile.am
new file mode 100644
index 0000000..0c31fe7
--- /dev/null
+++ b/data/sounds/Makefile.am
@@ -0,0 +1,29 @@
+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)
+@INTLTOOL_XML_RULE@
+
+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