diff --git a/m4/calaos.m4 b/m4/calaos.m4 index e47f3512..57004c52 100644 --- a/m4/calaos.m4 +++ b/m4/calaos.m4 @@ -1,6 +1,6 @@ dnl CALAOS_VERSION AC_DEFUN([CALAOS_VERSION], [dnl -m4_define([v_revision], m4_esyscmd([(git describe --tags --always master 2>/dev/null || echo 0) | tr -d '\n']))dnl +m4_define([v_revision], m4_esyscmd([(cat version 2>/dev/null || echo 0) | tr -d '\n']))dnl m4_define([calaos_version], [v_revision]) ]) diff --git a/src/bin/calaos_server/version.h b/src/bin/calaos_server/version.h new file mode 100644 index 00000000..bcc9df99 --- /dev/null +++ b/src/bin/calaos_server/version.h @@ -0,0 +1,6 @@ +#ifndef VERSION_H +#define VERSION_H + +#define PKG_VERSION_STR "git" + +#endif // VERSION_H diff --git a/version b/version new file mode 100644 index 00000000..5664e303 --- /dev/null +++ b/version @@ -0,0 +1 @@ +git