From ff7878bcd0869f5fce1a2f40cf6f9573838ab6ab Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 18 Nov 2009 19:48:09 +0000 Subject: [PATCH] fix --srcdir for sounds_version.txt and swigall git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15527 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 48ea0fd407..1bc55ba8b3 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|-.*||'`; \ - sounds_version=`cat build/sounds_version.txt`;\ - moh_version=`cat build/moh_version.txt`;\ + sounds_version=`cat $(switch_srcdir)/build/sounds_version.txt`;\ + moh_version=`cat $(switch_srcdir)/build/moh_version.txt`;\ 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-$$moh_version.tar.gz`; \ @@ -394,7 +394,7 @@ update-clean: clean modwipe uninstall libs/openzap/Makefile python-reconf swigall: @echo reswigging all - sh ./build/swigall.sh + sh $(switch_srcdir)/build/swigall.sh sure: current