add DESTDIR

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8703 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-05-28 03:51:32 +00:00
parent e4a0391fe6
commit e7f3b9502a
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ DEFAULT_SOUNDS=en-us-callie-8000
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" = "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 $(DESTDIR)$(PREFIX)/sounds/; else $(GETSOUNDS) $$soundfile ; fi; \
else \ else \
cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@ ;\ cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@ ;\
fi fi