From: Michael Jerris Date: Tue, 11 Dec 2007 00:11:43 +0000 (+0000) Subject: make targets for specific sound file sets such as 'sounds-en-us-callie-16000' and... X-Git-Tag: v1.0-rc1~1213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84026be717efdaa4336fb232a9d59d4f070bb9f7;p=thirdparty%2Ffreeswitch.git make targets for specific sound file sets such as 'sounds-en-us-callie-16000' and 'sounds-en-us-callie-16000-install' git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6615 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/Makefile.am b/Makefile.am index f209dc739c..106167133e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,8 +16,8 @@ DEFAULT_SOUNDS=en-us-callie-8000 @target=`echo $@ | sed -e 's|^.*-||'`; \ target_prefix=`echo $@ | sed -e 's|-.*$$||'`; \ sound_perfix=`echo $@ | sed -e 's|-.*||'`; \ - full_sound_dir=`echo $@ | sed -e 's|^sounds-||' | sed -e 's|-install$$||'`; \ - test -z "$$full_sound_dir" || full_sound_dir=`echo $(DEFAULT_SOUNDS)`; \ + full_sound_dir=`echo $@ | sed -e 's|^sounds||' | sed -e 's|^-||' | sed -e 's|-install$$||'`; \ + test ! -z $$full_sound_dir || full_sound_dir=`echo $(DEFAULT_SOUNDS)`; \ soundfile=`echo freeswitch-sounds-$$full_sound_dir-$(PACKAGE_VERSION).tar.gz`; \ if test "$$target" = "install"; then $(MAKE) $(AM_MAKEFLAGS) core_install; else $(MAKE) $(AM_MAKEFLAGS) core ; fi; \ if test "$$target_prefix" = "sounds"; then \