mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 07:01:07 +00:00
More space-in-pathname issues.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@299820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -18,14 +18,16 @@
|
|||||||
# Make doesn't tolerate spaces in pathnames well. I hate to hardcode the OS X
|
# Make doesn't tolerate spaces in pathnames well. I hate to hardcode the OS X
|
||||||
# path, but Make doesn't allow spaces as arguments, either.
|
# path, but Make doesn't allow spaces as arguments, either.
|
||||||
ifneq ($(findstring Application Support,$(ASTDATADIR)),)
|
ifneq ($(findstring Application Support,$(ASTDATADIR)),)
|
||||||
ASTDATADIR=/tmp/astdatadir
|
TMPDATADIR=/tmp/astdatadir
|
||||||
PREFIXCMD=ln -sf "$(ASTDATADIR)/" /tmp/astdatadir
|
PREFIXCMD=ln -sf "$(ASTDATADIR)/" /tmp/astdatadir
|
||||||
|
else
|
||||||
|
TMPDATADIR=$(ASTDATADIR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CMD_PREFIX?=@
|
CMD_PREFIX?=@
|
||||||
SOUNDS_DIR:=$(DESTDIR)$(ASTDATADIR)/sounds
|
SOUNDS_DIR:=$(DESTDIR)$(TMPDATADIR)/sounds
|
||||||
SOUNDS_CACHE_DIR?=
|
SOUNDS_CACHE_DIR?=
|
||||||
MOH_DIR:=$(DESTDIR)$(ASTDATADIR)/moh
|
MOH_DIR:=$(DESTDIR)$(TMPDATADIR)/moh
|
||||||
CORE_SOUNDS_VERSION:=1.4.20
|
CORE_SOUNDS_VERSION:=1.4.20
|
||||||
EXTRA_SOUNDS_VERSION:=1.4.11
|
EXTRA_SOUNDS_VERSION:=1.4.11
|
||||||
MOH_VERSION:=2.03
|
MOH_VERSION:=2.03
|
||||||
@@ -186,7 +188,7 @@ dist-clean:
|
|||||||
rm -f *.tar.gz
|
rm -f *.tar.gz
|
||||||
|
|
||||||
$(SOUNDS_DIR)/en $(MOH_DIR) $(SOUNDS_DIR)/en_AU $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr $(SOUNDS_CACHE_DIR):
|
$(SOUNDS_DIR)/en $(MOH_DIR) $(SOUNDS_DIR)/en_AU $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr $(SOUNDS_CACHE_DIR):
|
||||||
$(INSTALL) -d $@
|
mkdir -p $@
|
||||||
|
|
||||||
install: prefixcmd $(SOUNDS_CACHE_DIR) $(SOUNDS_DIR)/en $(SOUNDS_DIR)/en_AU $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr $(MOH_DIR) $(CORE_SOUND_TAGS) $(EXTRA_SOUND_TAGS) $(MOH_TAGS)
|
install: prefixcmd $(SOUNDS_CACHE_DIR) $(SOUNDS_DIR)/en $(SOUNDS_DIR)/en_AU $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr $(MOH_DIR) $(CORE_SOUND_TAGS) $(EXTRA_SOUND_TAGS) $(MOH_TAGS)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user