Commit 673dc10a authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Fix GITLOG command in makefile

parent eacbcd17
......@@ -5,7 +5,7 @@ GITVERSION_FILE_TMP=gitversion.h.tmp
## We can't only depend on the presence of the .git/ directory anymore,
## because of gits submodule handling.
## We now simply issue a git log on and if the output is empty (error or file not tracked), then we are not in git.
GITLOG=$(shell git log -1 --pretty=format:%H $(top_srcdir)/
GITLOG=`cd "$(top_srcdir)" && git log -1 --pretty=format:%H`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment