fix --srcdir for sounds_version.txt and swigall

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15527 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-11-18 19:48:09 +00:00
parent d7c16b4392
commit ff7878bcd0
1 changed files with 3 additions and 3 deletions

View File

@ -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