summaryrefslogtreecommitdiff
path: root/m4/efl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/efl.m4')
-rw-r--r--m4/efl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/efl.m4 b/m4/efl.m4
index 1fb49b9255..a8ca42775e 100644
--- a/m4/efl.m4
+++ b/m4/efl.m4
@@ -26,7 +26,7 @@ m4_define([v_maj], [$1])dnl
26m4_define([v_min], [$2])dnl 26m4_define([v_min], [$2])dnl
27m4_define([v_mic], [$3])dnl 27m4_define([v_mic], [$3])dnl
28m4_define([dev_version], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n']))dnl 28m4_define([dev_version], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n']))dnl
29m4_define([v_time], m4_esyscmd([(git log --format=%ci -1 2>/dev/null || date "+%Y-%m-%d %H:%M:%S %z") | tr -d '\n']))dnl 29m4_define([v_time], m4_esyscmd([(git log --format=%ci -1 2>/dev/null || date -u -d@${SOURCE_DATE_EPOCH:-$(date +%s)} "+%Y-%m-%d %H:%M:%S %z") | tr -d '\n']))dnl
30m4_define([v_rev], m4_if($4, dev, [dev_version], [0]))dnl 30m4_define([v_rev], m4_if($4, dev, [dev_version], [0]))dnl
31m4_define([v_rel], [])dnl 31m4_define([v_rel], [])dnl
32m4_define([def_build_profile], m4_if($4, dev, [dev], [release]))dnl 32m4_define([def_build_profile], m4_if($4, dev, [dev], [release]))dnl