mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
Makefile: add sample configs
Signed-off-by: Drew DeVault <sir@cmpwn.com>
This commit is contained in:
parent
f672a49edd
commit
1fb435754f
@ -56,6 +56,7 @@ endif
|
||||
|
||||
PREFIX?=/usr/local
|
||||
INSTALL_BIN=$(DESTDIR)$(PREFIX)/bin
|
||||
INSTALL_SHARE=$(DESTDIR)$(PREFIX)/share/redict
|
||||
INSTALL=install
|
||||
PKG_CONFIG?=pkg-config
|
||||
|
||||
@ -506,10 +507,12 @@ helgrind:
|
||||
$(MAKE) OPTIMIZATION="-O0" MALLOC="libc" CFLAGS="-D__ATOMIC_VAR_FORCE_SYNC_MACROS" REDICT_CFLAGS="-I/usr/local/include" REDICT_LDFLAGS="-L/usr/local/lib"
|
||||
|
||||
install: all
|
||||
@mkdir -p $(INSTALL_BIN)
|
||||
@mkdir -p $(INSTALL_BIN) $(INSTALL_SHARE)
|
||||
$(call MAKE_INSTALL,$(REDICT_SERVER_NAME),$(INSTALL_BIN))
|
||||
$(call MAKE_INSTALL,$(REDICT_BENCHMARK_NAME),$(INSTALL_BIN))
|
||||
$(call MAKE_INSTALL,$(REDICT_CLI_NAME),$(INSTALL_BIN))
|
||||
$(call MAKE_INSTALL,../redict.conf,$(INSTALL_SHARE))
|
||||
$(call MAKE_INSTALL,../sentinel.conf,$(INSTALL_SHARE))
|
||||
@ln -sf $(REDICT_SERVER_NAME) $(INSTALL_BIN)/$(REDICT_CHECK_RDB_NAME)
|
||||
@ln -sf $(REDICT_SERVER_NAME) $(INSTALL_BIN)/$(REDICT_CHECK_AOF_NAME)
|
||||
@ln -sf $(REDICT_SERVER_NAME) $(INSTALL_BIN)/$(REDICT_SENTINEL_NAME)
|
||||
|
Loading…
Reference in New Issue
Block a user