From: Kristian Høgsberg Date: Mon, 18 Jun 2012 15:09:13 +0000 (-0400) Subject: git-version: Use automake silent macro to make build prettier X-Git-Tag: 0.94.90~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cebb34ef9e5a5e9973670936606f17004efc1fd3;p=profile%2Fivi%2Fweston.git git-version: Use automake silent macro to make build prettier --- diff --git a/src/Makefile.am b/src/Makefile.am index 6bf7b2b..039d5c5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 :