* [PATCH] Support of "make -s": do not output anything of the build itself
@ 2007-03-06 23:14 Alex Riesen
2007-03-06 23:29 ` Shawn O. Pearce
0 siblings, 1 reply; 5+ messages in thread
From: Alex Riesen @ 2007-03-06 23:14 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Johannes Schindelin, Shawn O. Pearce, git
[-- 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] Support of "make -s": do not output anything of the build itself
2007-03-06 23:14 [PATCH] Support of "make -s": do not output anything of the build itself Alex Riesen
@ 2007-03-06 23:29 ` Shawn O. Pearce
2007-03-06 23:33 ` Alex Riesen
0 siblings, 1 reply; 5+ messages in thread
From: Shawn O. Pearce @ 2007-03-06 23:29 UTC (permalink / raw)
To: Alex Riesen; +Cc: Junio C Hamano, Johannes Schindelin, git
Alex Riesen <raa.lkml@gmail.com> wrote:
> Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
> ---
> Makefile | 10 +++++++---
> git-gui/Makefile | 5 -----
> 2 files changed, 7 insertions(+), 8 deletions(-)
Nack. You need to split any git-gui changes into their own patch
so that I can apply them to the git-gui repository directly.
Junio then merges that into git.git.
> +QUIET_SUBDIR0 = $(MAKE) -C # space to separate -C and subdir
> +QUIET_SUBDIR1 =
> +
> +ifneq ($(findstring $(MAKEFLAGS),s),s)
This is a good idea.
> 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
> diff --git a/git-gui/Makefile b/git-gui/Makefile
> -ifndef V
> - QUIET_GEN = @echo ' ' GEN $@;
> - QUIET_BUILT_IN = @echo ' ' BUILTIN $@;
> -endif
> -
git-gui can be built on its own, outside of git.git's make system.
I need the ifneq(...-s...) thing above also here, around the
existing ifndef.
Want to rework the patch as two? ;-)
--
Shawn.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Support of "make -s": do not output anything of the build itself
2007-03-06 23:29 ` Shawn O. Pearce
@ 2007-03-06 23:33 ` Alex Riesen
2007-03-06 23:56 ` Alex Riesen
2007-03-06 23:59 ` Alex Riesen
0 siblings, 2 replies; 5+ messages in thread
From: Alex Riesen @ 2007-03-06 23:33 UTC (permalink / raw)
To: Shawn O. Pearce; +Cc: Junio C Hamano, Johannes Schindelin, git
This message will break the thread (which is short yet). Gmail again,
but I really want it to get to the list.
On 3/7/07, Shawn O. Pearce <spearce@spearce.org> wrote:
> Alex Riesen <raa.lkml@gmail.com> wrote:
> > Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
> > ---
> > Makefile | 10 +++++++---
> > git-gui/Makefile | 5 -----
> > 2 files changed, 7 insertions(+), 8 deletions(-)
>
> Nack. You need to split any git-gui changes into their own patch
> so that I can apply them to the git-gui repository directly.
Right. Sorry, I completely forgot about that. Will redo it.
> git-gui can be built on its own, outside of git.git's make system.
> I need the ifneq(...-s...) thing above also here, around the
> existing ifndef.
>
> Want to rework the patch as two? ;-)
Will do.
P.S. I'm glad that someone can here me from here :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Support of "make -s": do not output anything of the build itself
2007-03-06 23:33 ` Alex Riesen
@ 2007-03-06 23:56 ` Alex Riesen
2007-03-06 23:59 ` Alex Riesen
1 sibling, 0 replies; 5+ messages in thread
From: Alex Riesen @ 2007-03-06 23:56 UTC (permalink / raw)
To: Shawn O. Pearce; +Cc: Junio C Hamano, Johannes Schindelin, git
On 3/7/07, Alex Riesen <raa.lkml@gmail.com> wrote:
>
> P.S. I'm glad that someone can here me from here :)
>
"Hear", of course. And it does not seem to work really...
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] Support of "make -s": do not output anything of the build itself
2007-03-06 23:33 ` Alex Riesen
2007-03-06 23:56 ` Alex Riesen
@ 2007-03-06 23:59 ` Alex Riesen
1 sibling, 0 replies; 5+ messages in thread
From: Alex Riesen @ 2007-03-06 23:59 UTC (permalink / raw)
To: Shawn O. Pearce; +Cc: Junio C Hamano, Johannes Schindelin, git
[-- Attachment #1: Type: text/plain, Size: 131 bytes --]
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
Makefile | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
[-- Attachment #2: 0003-Support-of-make-s-do-not-output-anything-of-the.patch --]
[-- Type: text/x-patch, Size: 994 bytes --]
From f741856c82aa840a198e3d751a1721b225b5b433 Mon Sep 17 00:00:00 2001
From: Alex Riesen <raa.lkml@gmail.com>
Date: Wed, 7 Mar 2007 00:44:49 +0100
Subject: [PATCH] Support of "make -s": do not output anything of the build itself
---
Makefile | 10 +++++++---
1 files changed, 7 insertions(+), 3 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);
--
1.5.0.3.430.g5573f
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-03-06 23:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-06 23:14 [PATCH] Support of "make -s": do not output anything of the build itself Alex Riesen
2007-03-06 23:29 ` Shawn O. Pearce
2007-03-06 23:33 ` Alex Riesen
2007-03-06 23:56 ` Alex Riesen
2007-03-06 23:59 ` Alex Riesen
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).