summaryrefslogtreecommitdiffstats
path: root/src/doc/version.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/version.py.in')
-rw-r--r--src/doc/version.py.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/doc/version.py.in b/src/doc/version.py.in
new file mode 100644
index 0000000000..0a344a7797
--- /dev/null
+++ b/src/doc/version.py.in
@@ -0,0 +1,21 @@
+#include "patchlevel.h"
+
+r_major = KRB5_MAJOR_RELEASE
+r_minor = KRB5_MINOR_RELEASE
+r_patch = KRB5_PATCHLEVEL
+
+#ifdef KRB5_RELTAIL
+r_tail = KRB5_RELTAIL
+#else
+r_tail = None
+#endif
+#ifdef KRB5_RELDATE
+r_date = KRB5_RELDATE
+#else
+r_date = None
+#endif
+#ifdef KRB5_RELTAG
+r_tag = KRB5_RELTAG
+#else
+r_date = None
+#endif