Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
cd03e293
Unverified
Commit
cd03e293
authored
Apr 11, 2021
by
yjph
Committed by
GitHub
Apr 10, 2021
Browse files
Fix the display of make install (#8667)
parent
d96f47cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
cd03e293
...
...
@@ -256,6 +256,17 @@ endif
FINAL_LIBS
+=
../deps/hiredis/libhiredis_ssl.a
$(LIBSSL_LIBS)
$(LIBCRYPTO_LIBS)
endif
ifndef
V
define
MAKE_INSTALL
@printf
' %b %b\n'
$(LINKCOLOR)INSTALL$(ENDCOLOR)
$(BINCOLOR)$(1)$(ENDCOLOR)
1>&2
@$(INSTALL)
$(1)
$(2)
endef
else
define
MAKE_INSTALL
$(INSTALL)
$(1)
$(2)
endef
endif
REDIS_CC
=
$(QUIET_CC)$(CC)
$(FINAL_CFLAGS)
REDIS_LD
=
$(QUIET_LINK)$(CC)
$(FINAL_LDFLAGS)
REDIS_INSTALL
=
$(QUIET_INSTALL)$(INSTALL)
...
...
@@ -414,9 +425,9 @@ src/help.h:
install
:
all
@
mkdir
-p
$(INSTALL_BIN)
$(
REDIS
_INSTALL
)
$(REDIS_SERVER_NAME)
$(INSTALL_BIN)
$(
REDIS
_INSTALL
)
$(REDIS_BENCHMARK_NAME)
$(INSTALL_BIN)
$(
REDIS
_INSTALL
)
$(REDIS_CLI_NAME)
$(INSTALL_BIN)
$(
call
MAKE
_INSTALL
,
$(REDIS_SERVER_NAME)
,
$(INSTALL_BIN)
)
$(
call
MAKE
_INSTALL
,
$(REDIS_BENCHMARK_NAME)
,
$(INSTALL_BIN)
)
$(
call
MAKE
_INSTALL
,
$(REDIS_CLI_NAME)
,
$(INSTALL_BIN)
)
@
ln
-sf
$(REDIS_SERVER_NAME)
$(INSTALL_BIN)
/
$(REDIS_CHECK_RDB_NAME)
@
ln
-sf
$(REDIS_SERVER_NAME)
$(INSTALL_BIN)
/
$(REDIS_CHECK_AOF_NAME)
@
ln
-sf
$(REDIS_SERVER_NAME)
$(INSTALL_BIN)
/
$(REDIS_SENTINEL_NAME)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment