Use git description as the tinc version.
[tinc] / src / version.c
index fc62c8a..67a5e2c 100644 (file)
@@ -18,7 +18,9 @@
 */
 
 #include "version.h"
+#include "version_git.h"
 
 /* This file is always rebuilt (even if there are no changes) so that the following is updated */
 const char* const BUILD_DATE = __DATE__;
 const char* const BUILD_TIME = __TIME__;
+const char* const BUILD_VERSION = GIT_DESCRIPTION;