aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexandru N. Onea <alexandru.onea@harman.com>2019-04-09 21:51:27 +0300
committerAlexandru N. Onea <alexandru.onea@harman.com>2019-04-09 22:16:23 +0300
commit52a7957cabc961d25b2eb765c34ca4e06844e197 (patch)
tree0fd89457d8fa85b7fd429f2c413f06eb354883bb /Makefile
parent891c04d70b30ed4533785469b8bd2f5d6c17a68c (diff)
Add check action to version-bump.sh; Activate checks
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4de58df..ea9bfef 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,10 @@ export LIBDIR ?= $(PREFIX)/lib
export BINDIR ?= $(PREFIX)/bin
export MANDIR ?= $(PREFIX)/share/man
-export TINYALSA_VERSION_MAJOR = $(shell scripts/version-bump.sh -s print major)
-export TINYALSA_VERSION = $(shell scripts/version-bump.sh -s print )
+export VERSIONSCRIPT = $(shell pwd)/scripts/version-bump.sh
+
+export TINYALSA_VERSION_MAJOR = $(shell $(VERSIONSCRIPT) -s print major)
+export TINYALSA_VERSION = $(shell $(VERSIONSCRIPT) -s print )
.PHONY: all
all:
@@ -16,6 +18,7 @@ all:
$(MAKE) -C utils
$(MAKE) -C doxygen
$(MAKE) -C examples
+ $(VERSIONSCRIPT) check
.PHONY: clean
clean: