summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-06-16 12:15:25 +0200
committerAmitay Isaacs <amitay@samba.org>2019-03-15 05:17:14 +0000
commit05c28fee21c0cc986cb8301f4199595cdb13faee (patch)
tree81590adcf0efb226915b6ce3aab57abe7354fcad /ctdb/include
parent2c3df58132939bbb17a448ef12d5f376244b7545 (diff)
downloadsamba-05c28fee21c0cc986cb8301f4199595cdb13faee.tar.gz
ctdb-build: use a fixed ctdb_version.h using SAMBA_VERSION_STRING
This way we don't get constant rebuild as SAMBA_VERSION_STRING is "4.7.0pre1.DEVELOPERBUILD" for the binaries under bin/ instead of "4.7.0pre1.GIT.59e51f6". BUG: https://bugzilla.samba.org/show_bug.cgi?id=13789 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_version.h b/ctdb/include/ctdb_version.h
new file mode 100644
index 00000000000..cf27179aff8
--- /dev/null
+++ b/ctdb/include/ctdb_version.h
@@ -0,0 +1,3 @@
+#include "version.h"
+
+#define CTDB_VERSION_STRING SAMBA_VERSION_STRING