1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-10-29 19:14:33 +00:00

Add print of the current git hash on Grid init.

This commit is contained in:
Dan H
2018-03-07 13:11:51 -05:00
parent a7d19dbb64
commit 5e8af396fd
3 changed files with 12 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ include $(top_srcdir)/doxygen.inc
bin_SCRIPTS=grid-config
BUILT_SOURCES = version.h
version.h:
echo "`git log -n 1 --format=format:"#define GITHASH \\"%H:%d\\"%n" HEAD`" > $(srcdir)/lib/version.h
.PHONY: bench check tests doxygen-run doxygen-doc $(DX_PS_GOAL) $(DX_PDF_GOAL)