summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Steinert <mike.steinert@gmail.com>2012-05-15 17:13:52 -0600
committerMichael Steinert <mike.steinert@gmail.com>2012-05-17 11:44:45 -0600
commitd17becfe7621699204005f9860456188cdf289d4 (patch)
treed3e3a9a45d6a29e1355c3bd85684e7697f24718c
parentc4af72b50368bfaa27b58bbe3f51f8b0aed37323 (diff)
downloadrabbitmq-c-github-ask-d17becfe7621699204005f9860456188cdf289d4.tar.gz
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 <mike.steinert@gmail.com>
-rw-r--r--Makefile.am12
-rw-r--r--configure.ac1
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])