git-version: Use automake silent macro to make build prettier
This commit is contained in:
+3
-3
@@ -33,9 +33,9 @@ weston_SOURCES = \
|
|||||||
weston-egl-ext.h
|
weston-egl-ext.h
|
||||||
|
|
||||||
git-version.h : .FORCE
|
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
|
$(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 $@
|
cmp -s $@ $@-new || cp $@-new $@; \
|
||||||
rm $@-new
|
rm $@-new)
|
||||||
|
|
||||||
.FORCE :
|
.FORCE :
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user