Revision
15527
Author
mikej
Date
2009-11-18 13:48:09 -0600 (Wed, 18 Nov 2009)

Log Message

fix --srcdir for sounds_version.txt and swigall

Modified Paths

Diff

Modified: freeswitch/trunk/Makefile.am (15526 => 15527)


--- freeswitch/trunk/Makefile.am	2009-11-18 19:46:29 UTC (rev 15526)
+++ freeswitch/trunk/Makefile.am	2009-11-18 19:48:09 UTC (rev 15527)
@@ -16,8 +16,8 @@
 	@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 @@
 
 swigall:
 	@echo reswigging all
-	sh ./build/swigall.sh
+	sh $(switch_srcdir)/build/swigall.sh
 
 sure: current