mdbx-make: change prefix of the 'TIP' messages (cosmetics).

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2021-07-03 13:51:28 +03:00 committed by Leonid Yuriev
parent 62889b5b7f
commit ac69464143

View File

@ -59,6 +59,7 @@ HEADERS := mdbx.h mdbx.h++
LIBRARIES := libmdbx.a libmdbx.$(SO_SUFFIX) LIBRARIES := libmdbx.a libmdbx.$(SO_SUFFIX)
TOOLS := mdbx_stat mdbx_copy mdbx_dump mdbx_load mdbx_chk mdbx_drop TOOLS := mdbx_stat mdbx_copy mdbx_dump mdbx_load mdbx_chk mdbx_drop
MANPAGES := mdbx_stat.1 mdbx_copy.1 mdbx_dump.1 mdbx_load.1 mdbx_chk.1 mdbx_drop.1 MANPAGES := mdbx_stat.1 mdbx_copy.1 mdbx_dump.1 mdbx_load.1 mdbx_chk.1 mdbx_drop.1
TIP := // TIP:
.PHONY: all help options lib tools clean install uninstall .PHONY: all help options lib tools clean install uninstall
.PHONY: install-strip install-no-strip strip libmdbx mdbx show-options .PHONY: install-strip install-no-strip strip libmdbx mdbx show-options
@ -73,11 +74,11 @@ endif
ifeq ($(MDBX_BUILD_VERBOSE),1) ifeq ($(MDBX_BUILD_VERBOSE),1)
QUIET := QUIET :=
HUSH := HUSH :=
$(info ## TIP: Use `make V=0` for quiet.) $(info $(TIP) Use `make V=0` for quiet.)
else else
QUIET := @ QUIET := @
HUSH := >/dev/null HUSH := >/dev/null
$(info ## TIP: Use `make V=1` for verbose.) $(info $(TIP) Use `make V=1` for verbose.)
endif endif
all: show-options $(LIBRARIES) $(TOOLS) all: show-options $(LIBRARIES) $(TOOLS)
@ -126,11 +127,11 @@ help:
show-options: show-options:
@echo " MDBX_BUILD_OPTIONS = $(MDBX_BUILD_OPTIONS)" @echo " MDBX_BUILD_OPTIONS = $(MDBX_BUILD_OPTIONS)"
@echo " MDBX_BUILD_TIMESTAMP = $(MDBX_BUILD_TIMESTAMP)" @echo " MDBX_BUILD_TIMESTAMP = $(MDBX_BUILD_TIMESTAMP)"
@echo '## TIP: Use `make options` to listing available build options.' @echo '$(TIP) Use `make options` to listing available build options.'
@echo " CFLAGS =$(CFLAGS)" @echo " CFLAGS =$(CFLAGS)"
@echo " CXXFLAGS =$(CXXFLAGS)" @echo " CXXFLAGS =$(CXXFLAGS)"
@echo " LDFLAGS =$(LDFLAGS) $(LIBS) $(EXE_LDFLAGS)" @echo " LDFLAGS =$(LDFLAGS) $(LIBS) $(EXE_LDFLAGS)"
@echo '## TIP: Use `make help` to listing available targets.' @echo '$(TIP) Use `make help` to listing available targets.'
options: options:
@echo " INSTALL =$(INSTALL)" @echo " INSTALL =$(INSTALL)"
@ -628,7 +629,7 @@ IOARENA ?= $(shell \
(test -x ../ioarena/@BUILD/src/ioarena && echo ../ioarena/@BUILD/src/ioarena) || \ (test -x ../ioarena/@BUILD/src/ioarena && echo ../ioarena/@BUILD/src/ioarena) || \
(test -x ../../@BUILD/src/ioarena && echo ../../@BUILD/src/ioarena) || \ (test -x ../../@BUILD/src/ioarena && echo ../../@BUILD/src/ioarena) || \
(test -x ../../src/ioarena && echo ../../src/ioarena) || which ioarena 2>&- || \ (test -x ../../src/ioarena && echo ../../src/ioarena) || which ioarena 2>&- || \
echo '\#\# TIP: Clone and build the https://github.com/pmwkaa/ioarena.git within a neighbouring directory for availability of benchmarking.' >&2) echo '$(TIP) Clone and build the https://github.com/pmwkaa/ioarena.git within a neighbouring directory for availability of benchmarking.' >&2)
NN ?= 25000000 NN ?= 25000000
BENCH_CRUD_MODE ?= nosync BENCH_CRUD_MODE ?= nosync