about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-08-26 16:17:08 -0400
committerJune McEnroe <june@causal.agency>2021-08-26 16:17:08 -0400
commitcac3f7de51e425f914a96270c2fa92b84ffd205f (patch)
tree1408b8eafbe1b9b992b279757c7b451e0f3390a9
parentAdd ISC license header (diff)
downloadexman-cac3f7de51e425f914a96270c2fa92b84ffd205f.tar.gz
exman-cac3f7de51e425f914a96270c2fa92b84ffd205f.zip
Add version number generator
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 02b2665..44bdf1c 100644
--- a/Makefile
+++ b/Makefile
@@ -40,3 +40,6 @@ uninstall:
 .for system in ${SYSTEMS}
 	${MAKE} -C ${system} ${.TARGET}
 .endfor
+
+version:
+	@grep '^VERSION =' */Makefile | awk '{ sum += $$3 } END { print sum }'