diff options
author | June McEnroe <june@causal.agency> | 2021-08-26 16:17:08 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-08-26 16:17:08 -0400 |
commit | cac3f7de51e425f914a96270c2fa92b84ffd205f (patch) | |
tree | 1408b8eafbe1b9b992b279757c7b451e0f3390a9 | |
parent | Add ISC license header (diff) | |
download | exman-cac3f7de51e425f914a96270c2fa92b84ffd205f.tar.gz exman-cac3f7de51e425f914a96270c2fa92b84ffd205f.zip |
Add version number generator
Diffstat (limited to '')
-rw-r--r-- | Makefile | 3 |
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 }' |