aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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
-