[Freeswitch-svn] [commit] r8703 - freeswitch/trunk

Freeswitch SVN anthm at freeswitch.org
Tue May 27 23:51:33 EDT 2008


Author: anthm
Date: Tue May 27 23:51:32 2008
New Revision: 8703

Modified:
   freeswitch/trunk/Makefile.am

Log:
add DESTDIR

Modified: freeswitch/trunk/Makefile.am
==============================================================================
--- freeswitch/trunk/Makefile.am	(original)
+++ freeswitch/trunk/Makefile.am	Tue May 27 23:51:32 2008
@@ -21,7 +21,7 @@
 	 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 $(PREFIX)/sounds/; else $(GETSOUNDS) $$soundfile ; fi; \
+	   if test "$$target" = "install"; then $(GETSOUNDS) $$soundfile $(DESTDIR)$(PREFIX)/sounds/; else $(GETSOUNDS) $$soundfile ; fi; \
 	 else \
 	   cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@ ;\
 	 fi



More information about the Freeswitch-svn mailing list