mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
[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.
This commit is contained in:
parent
4aecece48d
commit
cf48935cf5
@ -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)
|
||||
|
||||
|
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user