From d17becfe7621699204005f9860456188cdf289d4 Mon Sep 17 00:00:00 2001 From: Michael Steinert Date: Tue, 15 May 2012 17:13:52 -0600 Subject: Enable silent build rules This change makes it much easier to spot warnings in compiler output. To see the full build commands, build with: $ make V=1 Signed-off-by: Michael Steinert --- Makefile.am | 12 ++++++------ configure.ac | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7377807..3ae6712 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,10 +40,10 @@ codegen_py = $(top_srcdir)/librabbitmq/codegen.py amqp_codegen_json = $(top_srcdir)/codegen/amqp-rabbitmq-0.9.1.json librabbitmq/amqp_framing.h: $(amqp_codegen_json) $(codegen_py) - PYTHONPATH=$(top_srcdir)/codegen $(PYTHON) $(codegen_py) header $< $@ + $(AM_V_GEN)PYTHONPATH=$(top_srcdir)/codegen $(PYTHON) $(codegen_py) header $< $@ librabbitmq/amqp_framing.c: $(amqp_codegen_json) $(codegen_py) - PYTHONPATH=$(top_srcdir)/codegen $(PYTHON) $(codegen_py) body $< $@ + $(AM_V_GEN)PYTHONPATH=$(top_srcdir)/codegen $(PYTHON) $(codegen_py) body $< $@ AM_CFLAGS = -I$(top_srcdir)/librabbitmq @@ -224,14 +224,14 @@ XMLTO_FLAGS = \ --skip-validation %.1: %.xml tools/doc/man-date.ent - $(XMLTO) $(XMLTO_FLAGS) -o $(top_srcdir)/tools/doc man $< + $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) -o $(top_srcdir)/tools/doc man $< %.7: %.xml tools/doc/man-date.ent - $(XMLTO) $(XMLTO_FLAGS) -o $(top_srcdir)/tools/doc man $< + $(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) -o $(top_srcdir)/tools/doc man $< $(top_srcdir)/tools/doc/man-date.ent: - $(MKDIR_P) tools/doc - date +'%Y-%m-%d' > $@ + $(AM_V_at)$(MKDIR_P) tools/doc + $(AM_V_GEN)date +'%Y-%m-%d' > $@ endif # DOCS endif # TOOLS diff --git a/configure.ac b/configure.ac index d7bc160..5945d23 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,7 @@ AC_INIT([librabbitmq],[0.0.1],[support@rabbitmq.com]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR(librabbitmq/codegen.py) AM_INIT_AUTOMAKE([1.9 subdir-objects foreign -Wno-portability]) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_HEADER([config.h]) -- cgit v1.2.1