git-version: Use automake silent macro to make build prettier
This commit is contained in:
parent
429490df1a
commit
cebb34ef9e
@ -33,9 +33,9 @@ weston_SOURCES = \
|
||||
weston-egl-ext.h
|
||||
|
||||
git-version.h : .FORCE
|
||||
echo "#define BUILD_ID \"$(shell git --work-tree=$(top_srcdir) describe --always --dirty) $(shell git --work-tree=$(top_srcdir) log -1 --format='%s (%ci)')\"" > $@-new
|
||||
cmp -s $@ $@-new || cp $@-new $@
|
||||
rm $@-new
|
||||
$(AM_V_GEN)(echo "#define BUILD_ID \"$(shell git --work-tree=$(top_srcdir) describe --always --dirty) $(shell git --work-tree=$(top_srcdir) log -1 --format='%s (%ci)')\"" > $@-new; \
|
||||
cmp -s $@ $@-new || cp $@-new $@; \
|
||||
rm $@-new)
|
||||
|
||||
.FORCE :
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user