From cebb34ef9e5a5e9973670936606f17004efc1fd3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 18 Jun 2012 11:09:13 -0400 Subject: [PATCH] git-version: Use automake silent macro to make build prettier --- src/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 : -- 2.7.4