diff options
author | Ryan Schmidt <git@ryandesign.com> | 2018-05-14 17:37:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 17:37:14 -0500 |
commit | 0e9af8acb6bbd5b77525f17883fad1a24fd828bd (patch) | |
tree | 1852cf1133ce6cf71209d73f6939de3c53970941 /Makefile | |
parent | c1af0e849d6387a4297a1e1066c107f6f72d8469 (diff) |
Use cp -pPR instead of cp -a
This should be equivalent but compatible with older versions of cp.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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..." |