switch to independent sound file version numbers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8495 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
515e36f568
commit
8e17e4107a
|
@ -18,7 +18,7 @@ DEFAULT_SOUNDS=en-us-callie-8000
|
||||||
sound_perfix=`echo $@ | sed -e 's|-.*||'`; \
|
sound_perfix=`echo $@ | sed -e 's|-.*||'`; \
|
||||||
full_sound_dir=`echo $@ | sed -e 's|^sounds||' | sed -e 's|^-||' | sed -e 's|-install$$||'`; \
|
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)`; \
|
test ! -z $$full_sound_dir || full_sound_dir=`echo $(DEFAULT_SOUNDS)`; \
|
||||||
soundfile=`echo freeswitch-sounds-$$full_sound_dir-$(PACKAGE_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" = "install"; then $(MAKE) $(AM_MAKEFLAGS) core_install; else $(MAKE) $(AM_MAKEFLAGS) core ; fi; \
|
||||||
if test "$$target_prefix" = "sounds"; then \
|
if test "$$target_prefix" = "sounds"; then \
|
||||||
if test "$$target" = "install"; then $(GETSOUNDS) $$soundfile $(PREFIX)/sounds/; else $(GETSOUNDS) $$soundfile ; fi; \
|
if test "$$target" = "install"; then $(GETSOUNDS) $$soundfile $(PREFIX)/sounds/; else $(GETSOUNDS) $$soundfile ; fi; \
|
||||||
|
|
|
@ -8,6 +8,7 @@ AC_SUBST(SWITCH_VERSION_MAJOR, [1])
|
||||||
AC_SUBST(SWITCH_VERSION_MINOR, [0])
|
AC_SUBST(SWITCH_VERSION_MINOR, [0])
|
||||||
AC_SUBST(SWITCH_VERSION_MICRO, [pre4])
|
AC_SUBST(SWITCH_VERSION_MICRO, [pre4])
|
||||||
#AC_SUBST(SWITCH_VERSION_REVISION, [svn-revision-here])
|
#AC_SUBST(SWITCH_VERSION_REVISION, [svn-revision-here])
|
||||||
|
AC_SUBST(SOUNDS_VERSION, [1.0.1])
|
||||||
|
|
||||||
AC_CONFIG_FILES([src/include/switch_version.h.in:src/include/switch_version.h.template])
|
AC_CONFIG_FILES([src/include/switch_version.h.in:src/include/switch_version.h.template])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue