From cf48935cf5a954e627f8f84eb5c47d8edc3c8e54 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 19 Feb 2009 14:57:43 +0000 Subject: [PATCH] [build] Pass the -s switch to cmp The call to "cmp" to compare a built file with its current version should use the -s (silent) command line switch. This avoids a ugly message on the console when building Clutter the first time. --- clutter/Makefile.am | 2 +- clutter/x11/Makefile.am | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clutter/Makefile.am b/clutter/Makefile.am index c63e25ffb..2f8d720d6 100644 --- a/clutter/Makefile.am +++ b/clutter/Makefile.am @@ -124,7 +124,7 @@ stamp-clutter-enum-types.h: $(source_h) Makefile $(QUIET_GEN)( $(GLIB_MKENUMS) \ --template $(srcdir)/clutter-enum-types.h.in \ $(source_h) ) >> xgen-ceth && \ - (cmp xgen-ceth clutter-enum-types.h || cp xgen-ceth clutter-enum-types.h) && \ + (cmp -s xgen-ceth clutter-enum-types.h || cp xgen-ceth clutter-enum-types.h) && \ rm -f xgen-ceth && \ echo timestamp > $(@F) diff --git a/clutter/x11/Makefile.am b/clutter/x11/Makefile.am index 2a55a033d..3959c5ed6 100644 --- a/clutter/x11/Makefile.am +++ b/clutter/x11/Makefile.am @@ -19,15 +19,15 @@ BUILT_SOURCES = clutter-x11-enum-types.h clutter-x11-enum-types.c clutter-x11-enum-types.h: stamp-clutter-x11-enum-types.h @true stamp-clutter-x11-enum-types.h: $(source_h) Makefile - ( $(GLIB_MKENUMS) \ + $(QUIET_GEN)( $(GLIB_MKENUMS) \ --template $(srcdir)/clutter-x11-enum-types.h.in \ $(source_h) ) >> xgen-ceth && \ - (cmp xgen-ceth clutter-x11-enum-types.h || cp xgen-ceth clutter-x11-enum-types.h ) && \ + (cmp -s xgen-ceth clutter-x11-enum-types.h || cp xgen-ceth clutter-x11-enum-types.h ) && \ rm -f xgen-ceth && \ echo timestamp > $(@F) clutter-x11-enum-types.c: clutter-x11-enum-types.h - ( $(GLIB_MKENUMS) \ + $(QUIET_GEN)( $(GLIB_MKENUMS) \ --template $(srcdir)/clutter-x11-enum-types.c.in \ $(source_h) ) >> xgen-cetc && \ cp xgen-cetc clutter-x11-enum-types.c && \