aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-09 14:52:03 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-09 16:24:36 -0500
commit5d8084daa7812931b53d65312b2cebf9a8453e49 (patch)
treea454f5369f973bbec2ed06b500082de3f8de1756 /config.mk
parent07d56c6d7ba0a35f83d4de4895c04e31edadbdb1 (diff)
add flag to print version and exit
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 960fc8a..37b4114 100644
--- a/config.mk
+++ b/config.mk
@@ -1,3 +1,6 @@
+_VERSION = 0.3.1
+VERSION = $(shell ./generate-version.sh $(_VERSION))
+
# paths
PREFIX = /usr/local
MANDIR = $(PREFIX)/share/man