aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTaylor Holberton <tay10r@protonmail.com>2019-04-13 23:14:34 -0400
committerGitHub <noreply@github.com>2019-04-13 23:14:34 -0400
commit1d2302a566935bf213f4f110a7f98c8f8a655d07 (patch)
tree33e7f868a859786b89a64d8372016d063b3f015f /Makefile
parent4ea3cdf179e01e3d462b6f5d51ed0e07215766f0 (diff)
parent1830893d7b0c43e53da0e4c50449cf7826101614 (diff)
Merge pull request #128 from alexonea/master
Easier Version Specification
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e3ed0ef..9c3dcb1 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,11 @@ export LIBDIR ?= $(PREFIX)/lib
export BINDIR ?= $(PREFIX)/bin
export MANDIR ?= $(PREFIX)/share/man
+export VERSIONSCRIPT = $(shell pwd)/scripts/version.sh
+
+export TINYALSA_VERSION_MAJOR = $(shell $(VERSIONSCRIPT) -s print major)
+export TINYALSA_VERSION = $(shell $(VERSIONSCRIPT) -s print )
+
.PHONY: all
all:
$(MAKE) -C src