improved get_git_version
This commit is contained in:
parent
fd25d0cf2e
commit
feab44b34a
@ -37,7 +37,7 @@ AM_LDFLAGS += $(CUDALIBS)
|
||||
|
||||
tX_LDFLAGS = $(AM_LDFLAGS) -lX11 -lm
|
||||
|
||||
version.cc:
|
||||
version.cc: get_git_version
|
||||
./get_git_version >>version.cc
|
||||
|
||||
include $(top_srcdir)/aminclude.am
|
||||
|
@ -10,5 +10,6 @@ set head=`git rev-parse HEAD`
|
||||
echo -n $head
|
||||
echo -n ' dated '
|
||||
echo -n `git show -s --format=%ci $head`
|
||||
echo -n ' compiled on ' `date` 'at' `hostname` 'by' `whoami`
|
||||
echo -n '"'
|
||||
echo ';'
|
||||
|
Loading…
Reference in New Issue
Block a user