build: Don't use -T option on install cmd. Not OS X compatible

This commit is contained in:
Brian Anderson 2012-01-28 14:32:38 -08:00
parent a831e7ce13
commit 2ca0b37321

View file

@ -5,10 +5,10 @@
# Installation macro. Call with source directory as arg 1, # Installation macro. Call with source directory as arg 1,
# destination directory as arg 2, and filename/libname-glob as arg 3 # destination directory as arg 2, and filename/libname-glob as arg 3
ifdef VERBOSE ifdef VERBOSE
INSTALL = install -m755 -T $(1)/$(3) $(2)/$(3) INSTALL = install -m755 $(1)/$(3) $(2)/$(3)
INSTALL_LIB = install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/ INSTALL_LIB = install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
else else
INSTALL = $(Q)$(call E, install: $(2)/$(3)) && install -m755 -T $(1)/$(3) $(2)/$(3) INSTALL = $(Q)$(call E, install: $(2)/$(3)) && install -m755 $(1)/$(3) $(2)/$(3)
INSTALL_LIB = $(Q)$(call E, install_lib: $(2)/$(3)) && \ INSTALL_LIB = $(Q)$(call E, install_lib: $(2)/$(3)) && \
install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/ install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
endif endif