From f687777360a213c638374c1d497ca849717ce174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Sun, 17 Jan 2010 21:05:38 +0100 Subject: Support silent build rules with automake 1.11 Support silent build rules, requires at least automake-1.11. Disable by either passing --disable-silent-rules to configure or passing V=1 to make. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=585364 Signed-off-by: Jonny Lamb --- libempathy/Makefile.am | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'libempathy/Makefile.am') diff --git a/libempathy/Makefile.am b/libempathy/Makefile.am index 0ccd2deab..4d5acc63a 100644 --- a/libempathy/Makefile.am +++ b/libempathy/Makefile.am @@ -1,4 +1,3 @@ -include $(top_srcdir)/tools/shave.mk include $(top_srcdir)/tools/flymake.mk AM_CPPFLAGS = \ @@ -124,27 +123,27 @@ include $(top_srcdir)/tools/check-coding-style.mk check-local: check-coding-style empathy-marshal.list: $(libempathy_la_SOURCES) Makefile.am - $(QUIET_GEN)( cd $(srcdir) && \ + $(AM_V_GEN)( cd $(srcdir) && \ sed -n -e 's/.*empathy_marshal_\([[:upper:][:digit:]]*__[[:upper:][:digit:]_]*\).*/\1/p' \ $(libempathy_la_SOURCES) ) \ | sed -e 's/__/:/' -e 'y/_/,/' | sort -u > $@.tmp - if cmp -s $@.tmp $@; then \ + @if cmp -s $@.tmp $@; then \ rm $@.tmp; \ else \ mv $@.tmp $@; \ fi %-marshal.h: %-marshal.list Makefile - $(QUIET_GEN)$(GLIB_GENMARSHAL) --header --prefix=_$(subst -,_,$*)_marshal $< > $*-marshal.h + $(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=_$(subst -,_,$*)_marshal $< > $*-marshal.h %-marshal.c: %-marshal.list Makefile - $(QUIET_GEN)echo "#include \"empathy-marshal.h\"" > $@ && \ + $(AM_V_GEN)echo "#include \"empathy-marshal.h\"" > $@ && \ $(GLIB_GENMARSHAL) --body --prefix=_$(subst -,_,$*)_marshal $< >> $*-marshal.c empathy-enum-types.h: stamp-empathy-enum-types.h - $(QUIET_GEN)true + $(AM_V_GEN)true stamp-empathy-enum-types.h: $(libempathy_headers) Makefile - $(QUIET_GEN)(cd $(srcdir) \ + $(AM_V_GEN)(cd $(srcdir) \ && glib-mkenums \ --fhead "#ifndef __LIBEMPATHY_ENUM_TYPES_H__\n" \ --fhead "#define __LIBEMPATHY_ENUM_TYPES_H__ 1\n\n" \ @@ -161,7 +160,7 @@ stamp-empathy-enum-types.h: $(libempathy_headers) Makefile && echo timestamp > $(@F) empathy-enum-types.c: $(libempathy_headers) Makefile - $(QUIET_GEN)(cd $(srcdir) \ + $(AM_V_GEN)(cd $(srcdir) \ && glib-mkenums \ --fhead "#include \n" \ --fhead "#include \n" \ -- cgit v1.2.3