summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ddc4dca..14a7242 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ genversion:
@echo "#pragma once" >> version.h
@echo "#define VERSION $(VERSION)" >> version.h
@echo "#define PATCHLEVEL $(PATCHLEVEL)" >> version.h
- @echo "#define BRANCH \"`git status -bs | grep '##'`\"" >> version.h
+ @echo "#define VERSTRING \"`git describe`\"" >> version.h
@echo "#define DATE \"`date +'%d.%m.20%y'`\"" >> version.h
@echo "#define TIME \"`date +'%H:%M:%S'`\"" >> version.h