aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-24 15:12:57 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-24 15:12:57 +0200
commit349ed63038fffe8835446a2f5bbea9d090f8ad51 (patch)
tree0c176a67447c16257af2aff6f8c4371aca465325 /include
parentUpdate PKGBUILD to use meson (diff)
downloadsmolbote-349ed63038fffe8835446a2f5bbea9d090f8ad51.tar.xz
Use vcs_tag to get version information
Diffstat (limited to 'include')
-rw-r--r--include/version.h.in12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/version.h.in b/include/version.h.in
index c52ce77..44f10d9 100644
--- a/include/version.h.in
+++ b/include/version.h.in
@@ -1,14 +1,8 @@
#ifndef SMOLBOTE_VERSION_H
#define SMOLBOTE_VERSION_H
-// Version: 1.2.3
-#mesondefine poi_Version
-
-// Describe: 1.2.3-r123-0123456789ab
-#mesondefine poi_Describe
-
-// Build
-#mesondefine poi_Build
+// output of 'git describe --long --abbrev=40':
+// x.y.z-0-g0123456789012345678901234567890123456789
+#define poi_Version "@VCS_TAG@"
#endif // SMOLBOTE_VERSION_H
-