--- /dev/null
+Return-Path: <dottedmag@dottedmag.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 19308431FBC\r
+ for <notmuch@notmuchmail.org>; Fri, 20 Nov 2009 05:18:39 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 9F+E0v2X3ljI for <notmuch@notmuchmail.org>;\r
+ Fri, 20 Nov 2009 05:18:38 -0800 (PST)\r
+Received: from dottedmag.net (burger.dottedmag.net [212.75.37.82])\r
+ by olra.theworths.org (Postfix) with ESMTP id 23C86431FAE\r
+ for <notmuch@notmuchmail.org>; Fri, 20 Nov 2009 05:18:38 -0800 (PST)\r
+Received: from vertex.dottedmag (unknown [91.197.127.125])\r
+ by dottedmag.net (Postfix) with ESMTPSA id 9ADC98C069\r
+ for <notmuch@notmuchmail.org>; Fri, 20 Nov 2009 14:18:36 +0100 (CET)\r
+Received: from dottedmag by vertex.dottedmag with local (Exim 4.69)\r
+ (envelope-from <dottedmag@dottedmag.net>) id 1NBTNb-0003pl-95\r
+ for notmuch@notmuchmail.org; Fri, 20 Nov 2009 19:18:27 +0600\r
+From: Mikhail Gusarov <dottedmag@dottedmag.net>\r
+To: notmuch@notmuchmail.org\r
+Date: Fri, 20 Nov 2009 19:18:27 +0600\r
+Message-Id: <1258723107-14704-1-git-send-email-dottedmag@dottedmag.net>\r
+X-Mailer: git-send-email 1.6.3.3\r
+Subject: [notmuch] [PATCH] RFC: quiet make\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 20 Nov 2009 13:18:39 -0000\r
+\r
+I don't entirely like duplicating every command line in makefile,\r
+so this patch is RFC. Someone with bigger Make-fu than mine probably\r
+knows a better way.\r
+\r
+Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>\r
+---\r
+ Makefile | 36 ++++++++++++++++++++++++++++++++++++\r
+ Makefile.local | 10 ++++++++++\r
+ lib/Makefile.local | 5 +++++\r
+ 3 files changed, 51 insertions(+), 0 deletions(-)\r
+\r
+diff --git a/Makefile b/Makefile\r
+index b6861e9..72a72ae 100644\r
+--- a/Makefile\r
++++ b/Makefile\r
+@@ -32,29 +32,65 @@ include lib/Makefile.local\r
+ include Makefile.config\r
+ \r
+ %.o: %.cc $(all_deps)\r
++ifeq ($(V),1)\r
+ $(CXX) -c $(CFLAGS) $(CXXFLAGS) $< -o $@\r
++else\r
++ @echo CXX $<\r
++ @$(CXX) -c $(CFLAGS) $(CXXFLAGS) $< -o $@\r
++endif\r
+ \r
+ %.o: %.c $(all_deps)\r
++ifeq ($(V),1)\r
+ $(CC) -c $(CFLAGS) $< -o $@\r
++else\r
++ @echo CC $<\r
++ @$(CC) -c $(CFLAGS) $< -o $@\r
++endif\r
+ \r
+ %.elc: %.el\r
++ifeq ($(V),1)\r
+ emacs -batch -f batch-byte-compile $<\r
++else\r
++ @echo ELCOMPILE $<\r
++ @emacs -batch -f batch-byte-compile $<\r
++endif\r
+ \r
+ .deps/%.d: %.c $(all_deps)\r
++ifeq ($(V),1)\r
++ set -e; rm -f $@; mkdir -p $$(dirname $@) ; \\r
++ $(CC) -M $(CPPFLAGS) $(CFLAGS) $< > $@.$$$$; \\r
++ sed 's,'$$(basename $*)'\.o[ :]*,$*.o $@ : ,g' < $@.$$$$ > $@; \\r
++ rm -f $@.$$$$\r
++else\r
++ @echo DEPCXX $<\r
+ @set -e; rm -f $@; mkdir -p $$(dirname $@) ; \\r
+ $(CC) -M $(CPPFLAGS) $(CFLAGS) $< > $@.$$$$; \\r
+ sed 's,'$$(basename $*)'\.o[ :]*,$*.o $@ : ,g' < $@.$$$$ > $@; \\r
+ rm -f $@.$$$$\r
++endif\r
+ \r
+ .deps/%.d: %.cc $(all_deps)\r
++ifeq ($(V),1)\r
++ set -e; rm -f $@; mkdir -p $$(dirname $@) ; \\r
++ $(CXX) -M $(CPPFLAGS) $(CXXFLAGS) $< > $@.$$$$; \\r
++ sed 's,'$$(basename $*)'\.o[ :]*,$*.o $@ : ,g' < $@.$$$$ > $@; \\r
++ rm -f $@.$$$$\r
++else\r
++ @echo DEPCC $<\r
+ @set -e; rm -f $@; mkdir -p $$(dirname $@) ; \\r
+ $(CXX) -M $(CPPFLAGS) $(CXXFLAGS) $< > $@.$$$$; \\r
+ sed 's,'$$(basename $*)'\.o[ :]*,$*.o $@ : ,g' < $@.$$$$ > $@; \\r
+ rm -f $@.$$$$\r
++endif\r
+ \r
+ DEPS := $(SRCS:%.c=.deps/%.d)\r
+ DEPS := $(DEPS:%.cc=.deps/%.d)\r
+ -include $(DEPS)\r
+ \r
+ clean:\r
++ifeq ($(V),1)\r
+ rm -f $(CLEAN); rm -rf .deps\r
++else\r
++ @echo CLEAN\r
++ @rm -f $(CLEAN); rm -rf .deps\r
++endif\r
+diff --git a/Makefile.local b/Makefile.local\r
+index bf81c03..0addfed 100644\r
+--- a/Makefile.local\r
++++ b/Makefile.local\r
+@@ -20,10 +20,20 @@ notmuch_client_srcs = \\r
+ \r
+ notmuch_client_modules = $(notmuch_client_srcs:.c=.o)\r
+ notmuch: $(notmuch_client_modules) lib/notmuch.a\r
++ifeq ($(V),1)\r
+ $(CXX) $^ $(LDFLAGS) -o $@\r
++else\r
++ @echo LINK $^\r
++ @$(CXX) $^ $(LDFLAGS) -o $@\r
++endif\r
+ \r
+ notmuch.1.gz: notmuch.1\r
++ifeq ($(V),1)\r
+ gzip --stdout notmuch.1 > notmuch.1.gz\r
++else\r
++ @echo GZIP $<\r
++ @gzip --stdout notmuch.1 > notmuch.1.gz\r
++endif\r
+ \r
+ install: all notmuch.1.gz\r
+ for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/share/man/man1 \\r
+diff --git a/lib/Makefile.local b/lib/Makefile.local\r
+index 79f7b0b..5a66716 100644\r
+--- a/lib/Makefile.local\r
++++ b/lib/Makefile.local\r
+@@ -18,7 +18,12 @@ libnotmuch_cxx_srcs = \\r
+ \r
+ libnotmuch_modules = $(libnotmuch_c_srcs:.c=.o) $(libnotmuch_cxx_srcs:.cc=.o)\r
+ $(dir)/notmuch.a: $(libnotmuch_modules)\r
++ifeq ($(V),1)\r
+ $(AR) rcs $@ $^\r
++else\r
++ @echo AR $^\r
++ @$(AR) rcs $@ $^\r
++endif\r
+ \r
+ SRCS := $(SRCS) $(libnotmuch_c_srcs) $(libnotmuch_cxx_srcs)\r
+ CLEAN := $(CLEAN) $(libnotmuch_modules) $(dir)/notmuch.a\r
+-- \r
+1.6.3.3\r
+\r