From: "Alex Riesen" <raa.lkml@gmail.com>
To: "Junio C Hamano" <junkio@cox.net>
Cc: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>,
"Shawn O. Pearce" <spearce@spearce.org>,
git@vger.kernel.org
Subject: [PATCH] Support of "make -s": do not output anything of the build itself
Date: Wed, 7 Mar 2007 00:14:30 +0100 [thread overview]
Message-ID: <81b0412b0703061514m2f2b3237yd1192dd651a1109e@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
Makefile | 10 +++++++---
git-gui/Makefile | 5 -----
2 files changed, 7 insertions(+), 8 deletions(-)
[-- Attachment #2: 0002-Support-of-make-s-do-not-output-anything-of-the.patch --]
[-- Type: text/x-patch, Size: 1504 bytes --]
From d433ed1d682b64eb4a8ac1cb55bc568e0f0f10f0 Mon Sep 17 00:00:00 2001
From: Alex Riesen <raa.lkml@gmail.com>
Date: Tue, 6 Mar 2007 23:57:55 +0100
Subject: [PATCH] Support of "make -s": do not output anything of the build itself
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
Makefile | 10 +++++++---
git-gui/Makefile | 5 -----
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index eb6c421..983da60 100644
--- a/Makefile
+++ b/Makefile
@@ -604,6 +604,11 @@ endif
ifdef NO_PERL_MAKEMAKER
export NO_PERL_MAKEMAKER
endif
+
+QUIET_SUBDIR0 = $(MAKE) -C # space to separate -C and subdir
+QUIET_SUBDIR1 =
+
+ifneq ($(findstring $(MAKEFLAGS),s),s)
ifndef V
QUIET_CC = @echo ' ' CC $@;
QUIET_AR = @echo ' ' AR $@;
@@ -615,9 +620,8 @@ ifndef V
$(MAKE) --no-print-directory -C $$subdir
export V
export QUIET_GEN
-else
- QUIET_SUBDIR0 = $(MAKE) -C
- QUIET_SUBDIR1 =
+ export QUIET_BUILT_IN
+endif
endif
# Shell quote (do not use $(call) to accommodate ancient setups);
diff --git a/git-gui/Makefile b/git-gui/Makefile
index e486e8f..4f3fc74 100644
--- a/git-gui/Makefile
+++ b/git-gui/Makefile
@@ -22,11 +22,6 @@ ifndef INSTALL
INSTALL = install
endif
-ifndef V
- QUIET_GEN = @echo ' ' GEN $@;
- QUIET_BUILT_IN = @echo ' ' BUILTIN $@;
-endif
-
DESTDIR_SQ = $(subst ','\'',$(DESTDIR))
gitexecdir_SQ = $(subst ','\'',$(gitexecdir))
SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
--
1.5.0.3.410.gca42
next reply other threads:[~2007-03-06 23:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-06 23:14 Alex Riesen [this message]
2007-03-06 23:29 ` [PATCH] Support of "make -s": do not output anything of the build itself Shawn O. Pearce
2007-03-06 23:33 ` Alex Riesen
2007-03-06 23:56 ` Alex Riesen
2007-03-06 23:59 ` Alex Riesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81b0412b0703061514m2f2b3237yd1192dd651a1109e@mail.gmail.com \
--to=raa.lkml@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).