Package: libcmtspeechdata / 2.1.1+git20160721~8efc468-2.1

install-test-binaries.patch Patch series | download
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
31
32
33
34
35
36
37
38
39
40
41
Description: Install binaries from utils/ into pkglibdir
Author: Sebastian Reichel <sre@debian.org>
Last-Update: 2016-07-21

Index: libcmtspeechdata/Makefile.am
===================================================================
--- libcmtspeechdata.orig/Makefile.am
+++ libcmtspeechdata/Makefile.am
@@ -81,14 +81,16 @@ TESTS = 		test_ring \
 
 noinst_PROGRAMS = 	test_ring \
 			test_cmtspeech \
-			utils/send_cmtspeech_reset \
-			utils/cmtspeech_ramp_test \
-			utils/cmtspeech_ofono_test \
 			$(backend_noinst_programs)
 
 noinst_HEADERS =	$(cmtspeechdata_common_inc) \
 			$(nokiamodem_kernel_inc)
 
+test_execbindir = $(pkglibdir)
+test_execbin_PROGRAMS = utils/send_cmtspeech_reset \
+			utils/cmtspeech_ramp_test \
+			utils/cmtspeech_ofono_test
+
 test_cmtspeech_msgs_SOURCES = test_cmtspeech_msgs.c
 test_cmtspeech_msgs_CFLAGS = @CHECK_CFLAGS@
 test_cmtspeech_msgs_LDADD = \
Index: libcmtspeechdata/configure.ac
===================================================================
--- libcmtspeechdata.orig/configure.ac
+++ libcmtspeechdata/configure.ac
@@ -12,7 +12,7 @@ dnl ---------------------------
 
 AC_INIT([libcmtspeechdata], [2.1.1])
 AC_CONFIG_SRCDIR([cmtspeech.h])
-AM_INIT_AUTOMAKE([foreign])
+AM_INIT_AUTOMAKE([foreign subdir-objects])
 AM_MAINTAINER_MODE
 
 VERSION_MAJOR=`echo $VERSION |cut -f1 -d.`