summaryrefslogtreecommitdiff
path: root/speaker-test
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-04-16 11:09:26 +0000
committerJames Courtier-Dutton <James@superbug.co.uk>2005-04-16 11:09:26 +0000
commitfb2f99f1f99c430d1ca263be84d919aa808601c3 (patch)
tree7c5d3edc6301aa8f802da99e88926e4c3530aaa4 /speaker-test
parent266e9b3a94e5a177308eef675cd2eab36f76adf4 (diff)
downloadalsa-utils-fb2f99f1f99c430d1ca263be84d919aa808601c3.tar.gz
Install sound samples to correct places.
All .wav files go in /usr/share/sounds/alsa The sample_map.csv goes in /usr/share/alsa/speaker-test
Diffstat (limited to 'speaker-test')
-rw-r--r--speaker-test/Makefile.am2
-rw-r--r--speaker-test/samples/Makefile.am20
-rw-r--r--speaker-test/samples/sample_map.csv2
3 files changed, 24 insertions, 0 deletions
diff --git a/speaker-test/Makefile.am b/speaker-test/Makefile.am
index c80e3fb..6777c4c 100644
--- a/speaker-test/Makefile.am
+++ b/speaker-test/Makefile.am
@@ -1,5 +1,7 @@
SPEAKER_TEST_VERSION = 0.0.8
INCLUDES = -I$(top_srcdir)/include -DVERSION=\"$(SPEAKER_TEST_VERSION)\"
+SUBDIRS= samples
+
bin_PROGRAMS = speaker-test
speaker_test_SOURCES = speaker-test.c pink.c
man_MANS = speaker-test.1
diff --git a/speaker-test/samples/Makefile.am b/speaker-test/samples/Makefile.am
new file mode 100644
index 0000000..8cc3546
--- /dev/null
+++ b/speaker-test/samples/Makefile.am
@@ -0,0 +1,20 @@
+sounddir = $(datadir)/sounds/alsa
+wav_files = Front_Left.wav \
+ Rear_Center.wav \
+ Rear_Right.wav \
+ Side_Right.wav \
+ Front_Center.wav \
+ Front_Right.wav \
+ Noise.wav \
+ Rear_Left.wav \
+ Side_Left.wav
+sound_DATA = $(wav_files)
+
+alsadir = $(datadir)/alsa/speaker-test
+cfg_files = sample_map.csv
+
+alsa_DATA = $(cfg_files)
+
+EXTRA_DIST = \
+ $(wav_files) \
+ $(cfg_files)
diff --git a/speaker-test/samples/sample_map.csv b/speaker-test/samples/sample_map.csv
new file mode 100644
index 0000000..20d8ed2
--- /dev/null
+++ b/speaker-test/samples/sample_map.csv
@@ -0,0 +1,2 @@
+0, "Front Left", "/usr/share/alsa/samples/Front_Left.wav"
+1, "Front Right", "/usr/share/alsa/samples/Front_Right.wav"