build: bump version 1.7.13

And some small tweaks, cleanups
This commit is contained in:
Dirk-Jan C. Binnema
2022-04-18 21:33:43 +03:00
parent b21263da4a
commit 9c853acfa3
5 changed files with 9 additions and 38 deletions

View File

@ -19,7 +19,11 @@
NINJA ?= ninja
BUILDDIR ?= $(CURDIR)/build
MESON ?= meson
V ?= 0
ifneq ($(V),0)
VERBOSE=--verbose
endif
# MESON_FLAGS, e.g. "-Dreadline=enabled"
@ -28,7 +32,7 @@ MESON ?= meson
# make clean all MESON_FLAGS="-Db_sanitize=thread" CXX=clang++ CC=clang
all: $(BUILDDIR)
$(NINJA) -C $(BUILDDIR)
$(NINJA) -C $(BUILDDIR) $(VERBOSE)
$(BUILDDIR):
$(MESON) $(MESON_FLAGS) $(BUILDDIR)
@ -36,10 +40,7 @@ $(BUILDDIR):
check: test
test: all
$(MESON) test -C $(BUILDDIR)
test-verbose: all
$(MESON) test --verbose -C $(BUILDDIR)
$(MESON) test $(VERBOSE) -C $(BUILDDIR)
test-verbose-if-fail: all
@cd $(BUILDDIR); $(MESON) test || $(MESON) test --verbose