From e7f3b9502aad675077264535899ac9a9506d98cc Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 28 May 2008 03:51:32 +0000 Subject: [PATCH] add DESTDIR git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8703 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 79ba8ce2f1..ada932da22 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ DEFAULT_SOUNDS=en-us-callie-8000 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