]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix --srcdir for sounds_version.txt and swigall
authorMichael Jerris <mike@jerris.com>
Wed, 18 Nov 2009 19:48:09 +0000 (19:48 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 18 Nov 2009 19:48:09 +0000 (19:48 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15527 d0543943-73ff-0310-b7d9-9358b9ac24b2

Makefile.am

index 48ea0fd407d1eb1082c26b3250a2806472b77331..1bc55ba8b39b1783ad9f9f9f0bcc66ed506e368e 100644 (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