aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-01-18 04:05:38 +0800
committerJonny Lamb <jonnylamb@gnome.org>2010-01-18 05:57:13 +0800
commitf687777360a213c638374c1d497ca849717ce174 (patch)
tree3a6740e80f8e240d11942c99b028838b095eed6c /src
parent6a1aecd8b35cee47c56326d4babc46a146a91be0 (diff)
downloadgsoc2013-empathy-f687777360a213c638374c1d497ca849717ce174.tar
gsoc2013-empathy-f687777360a213c638374c1d497ca849717ce174.tar.gz
gsoc2013-empathy-f687777360a213c638374c1d497ca849717ce174.tar.bz2
gsoc2013-empathy-f687777360a213c638374c1d497ca849717ce174.tar.lz
gsoc2013-empathy-f687777360a213c638374c1d497ca849717ce174.tar.xz
gsoc2013-empathy-f687777360a213c638374c1d497ca849717ce174.tar.zst
gsoc2013-empathy-f687777360a213c638374c1d497ca849717ce174.zip
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 <jonnylamb@gnome.org>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 3370f9bed..c3f6582e7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,3 @@
-include $(top_srcdir)/tools/shave.mk
include $(top_srcdir)/tools/flymake.mk
AM_CPPFLAGS = \
@@ -102,7 +101,7 @@ dist_man_MANS = \
# rules for making the glib enum objects
%-enumtypes.h: %.h Makefile.in
- $(QUIET_GEN)glib-mkenums \
+ $(AM_V_GEN)glib-mkenums \
--fhead "#ifndef __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__\n#define __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void);\n#define $(shell echo $* | tr [:lower:]- [:upper:]_ | sed 's/_.*//')_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
@@ -110,7 +109,7 @@ dist_man_MANS = \
$< > $@
%-enumtypes.c: %.h Makefile.in
- $(QUIET_GEN)glib-mkenums \
+ $(AM_V_GEN)glib-mkenums \
--fhead "#include <$*.h>\n#include <$*-enumtypes.h>" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \