diff --git a/Makefile b/Makefile index 4a51985b16..01e6959fbf 100644 --- a/Makefile +++ b/Makefile @@ -359,7 +359,7 @@ ifeq ($(SUBVERS),) SUBVERS := $(shell (grep -v '^\$$' SUBVERS 2>/dev/null || touch SUBVERS) | head -n 1) endif ifeq ($(VERDATE),) -VERDATE := $(shell (grep -v '^\$$' VERDATE 2>/dev/null || touch VERDATE) | head -n 1) +VERDATE := $(shell (grep -v '^\$$' VERDATE 2>/dev/null || touch VERDATE) | head -n 1 | cut -f1 -d' ' | tr '-' '/') endif #### Build options diff --git a/SUBVERS b/SUBVERS index 8b13789179..26d9d35de8 100644 --- a/SUBVERS +++ b/SUBVERS @@ -1 +1,2 @@ +-$Format:%h$ diff --git a/VERDATE b/VERDATE index b03f7cfc1b..893b906606 100644 --- a/VERDATE +++ b/VERDATE @@ -1 +1,2 @@ +$Format:%ci$ 2013/06/17