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.`
