diff --git a/Makefile.am b/Makefile.am index 3affb77e70..925892b760 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,9 +16,10 @@ 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`;\ 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-$(SOUNDS_VERSION).tar.gz`; \ + soundfile=`echo freeswitch-sounds-$$full_sound_dir-$$sounds_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 \ if test "$$target" = "install"; then $(GETSOUNDS) $$soundfile $(DESTDIR)$(PREFIX)/sounds/; else $(GETSOUNDS) $$soundfile ; fi; \ diff --git a/build/sounds_version.txt b/build/sounds_version.txt new file mode 100644 index 0000000000..21e8796a09 --- /dev/null +++ b/build/sounds_version.txt @@ -0,0 +1 @@ +1.0.3 diff --git a/configure.in b/configure.in index c839acce61..9369c23a3b 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,6 @@ AC_SUBST(SWITCH_VERSION_MAJOR, [1]) AC_SUBST(SWITCH_VERSION_MINOR, [0]) AC_SUBST(SWITCH_VERSION_MICRO, [trunk]) #AC_SUBST(SWITCH_VERSION_REVISION, [svn-revision-here]) -AC_SUBST(SOUNDS_VERSION, [1.0.3]) AC_CONFIG_FILES([src/include/switch_version.h.in:src/include/switch_version.h.template])