[Freeswitch-svn] [commit] r9480 - in freeswitch/trunk: . build
Freeswitch SVN
anthm at freeswitch.org
Mon Sep 8 14:10:29 EDT 2008
Author: anthm
Date: Mon Sep 8 14:10:28 2008
New Revision: 9480
Added:
freeswitch/trunk/build/sounds_version.txt
Modified:
freeswitch/trunk/Makefile.am
freeswitch/trunk/configure.in
Log:
don't require another configure when you just change the sound files version
Modified: freeswitch/trunk/Makefile.am
==============================================================================
--- freeswitch/trunk/Makefile.am (original)
+++ freeswitch/trunk/Makefile.am Mon Sep 8 14:10:28 2008
@@ -16,9 +16,10 @@
@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; \
Added: freeswitch/trunk/build/sounds_version.txt
==============================================================================
--- (empty file)
+++ freeswitch/trunk/build/sounds_version.txt Mon Sep 8 14:10:28 2008
@@ -0,0 +1 @@
+1.0.3
Modified: freeswitch/trunk/configure.in
==============================================================================
--- freeswitch/trunk/configure.in (original)
+++ freeswitch/trunk/configure.in Mon Sep 8 14:10:28 2008
@@ -8,7 +8,6 @@
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])
More information about the Freeswitch-svn
mailing list