add DESTDIR
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8703 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e4a0391fe6
commit
e7f3b9502a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue