summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2018-05-15 18:16:12 -0700
committerGitHub <noreply@github.com>2018-05-15 18:16:12 -0700
commitc5cb45642118136ebfdf8be4d58ad8d7952fbb8f (patch)
treef78b081d9a7acf0ac9fd51e0f58fed0730b77a90
parent7a1acdfeb58b3e3a84a7b5d34af5ec1daae0f603 (diff)
parent0e9af8acb6bbd5b77525f17883fad1a24fd828bd (diff)
Merge pull request #596 from ryandesign/cp-pPR
Use cp -pPR instead of cp -a
-rw-r--r--Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 28a7849..75c2e36 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,6 @@ uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
ifeq ($(uname_S),SunOS)
REAL_LDFLAGS+= -ldl -lnsl -lsocket
DYLIB_MAKE_CMD=$(CC) -G -o $(DYLIBNAME) -h $(DYLIB_MINOR_NAME) $(LDFLAGS)
- INSTALL= cp -r
endif
ifeq ($(uname_S),Darwin)
DYLIBSUFFIX=dylib
@@ -161,11 +160,7 @@ clean:
dep:
$(CC) -MM *.c
-ifeq ($(uname_S),$(filter $(uname_S),SunOS OpenBSD))
- INSTALL?= cp -r
-endif
-
-INSTALL?= cp -a
+INSTALL?= cp -pPR
$(PKGCONFNAME): hiredis.h
@echo "Generating $@ for pkgconfig..."