kbuild: silence documentation GEN xml messages according to $(quiet)
PATCH 1/1 kbuild: silence documentation GEN xml messages according to $(quiet)
--- Documentation/DocBook/Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
Documentation/DocBook/Makefile +4 -1
@@ -186,8 +186,11 @@ quiet_cmd_fig2png = FIG2PNG $@ ### # Rule to convert a .c file to inline XML documentation + gen_xml = : + quiet_gen_xml = echo ' GEN $@' +silent_gen_xml = : %.xml: %.c - @echo ' GEN $@' + @$($(quiet)gen_xml) @( \ echo "<programlisting>"; \ expand --tabs=8 < $< | \
Signature · 1 line
1.5.4.4
Quoted 13 lines · On Mon, 24 Mar 2008 11:16:55 -0400 Mike Frysinger wrote:
Signed-off-by Mike Frysinger <[email protected]>--- Documentation/DocBook/Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)Documentation/DocBook/Makefile +0
-0@@ -186,8 +186,11 @@ quiet_cmd_fig2png = FIG2PNG $@ ###
Documentation/DocBook/Makefile quiet_cmd_fig2png = FIG2PNG $@ · line 196
Quoted 10 lines
Documentation/DocBook/Makefile +4
-1# Rule to convert a .c file to inline XML documentation + gen_xml = : + quiet_gen_xml = echo ' GEN $@' +silent_gen_xml = : %.xml: %.c - @echo ' GEN $@' + @$($(quiet)gen_xml) @( \ echo "<programlisting>"; \ expand --tabs=8 < $< | \
The Makefile changes are good, but the patch description makes it appear that Mike was rushed. How about something like this?
Add rules for gen_xml and its quiet & silent variants. This causes "make -s" to be silent for gen_xml.
---
~Randy
Quoted 12 lines · Randy Dunlap
Quoted 11 lines · On Mon, 24 Mar 2008 11:16:55 -0400 Mike Frysinger wrote:
Signed-off-by Mike Frysinger <[email protected]>--- Documentation/DocBook/Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)(quoted diff) +0
-0b/Documentation/DocBook/Makefile index 300e170..f6a4ba3 100644
Documentation/DocBook/Makefile +0
-0@@ -186,8 +186,11 @@ quiet_cmd_fig2png = FIG2PNG $@
Quoted 15 lines
Documentation/DocBook/Makefile quiet_cmd_fig2png = FIG2PNG $@
Quoted 12 lines
Documentation/DocBook/Makefile +4
-2### # Rule to convert a .c file to inline XML documentation + gen_xml = : + quiet_gen_xml = echo ' GEN $@' +silent_gen_xml = : %.xml: %.c - @echo ' GEN $@' + @$($(quiet)gen_xml) @( \ echo "<programlisting>"; \ expand --tabs=8 < $< | \ --The
Makefilechanges are good, but the patch description makes it appear that Mike was rushed. How about something like this?
i just copied & pasted the previous commit messages for similar fixes. your longer version sounds fine to me though.
-mike
Quoted 29 lines · Randy Dunlap
Quoted 13 lines · On Mon, 24 Mar 2008 11:16:55 -0400 Mike Frysinger wrote:
Signed-off-by Mike Frysinger <[email protected]>--- Documentation/DocBook/Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)Documentation/DocBook/Makefile +0
-0@@ -186,8 +186,11 @@ quiet_cmd_fig2png = FIG2PNG $@ ###Documentation/DocBook/Makefile quiet_cmd_fig2png = FIG2PNG $@ · line 196
Quoted 10 lines
Documentation/DocBook/Makefile +4
-1# Rule to convert a .c file to inline XML documentation + gen_xml = : + quiet_gen_xml = echo ' GEN $@' +silent_gen_xml = : %.xml: %.c - @echo ' GEN $@' + @$($(quiet)gen_xml) @( \ echo "<programlisting>"; \ expand --tabs=8 < $< | \The
Makefilechanges are good, but the patch description makes it appear that Mike was rushed. How about something like this?
Quoted 4 lines
Add rules for
gen_xmland its quiet & silent variants. This causes "make -s" to be silent forgen_xml.Acked-by Randy Dunlap <[email protected]>
Applied - but I forgot to add this update.
Sorry,
Sam
Quoted 30 lines · Sam Ravnborg
Quoted 29 lines · Randy Dunlap
Quoted 13 lines · On Mon, 24 Mar 2008 11:16:55 -0400 Mike Frysinger wrote:
Signed-off-by Mike Frysinger <[email protected]>--- Documentation/DocBook/Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)Documentation/DocBook/Makefile +0
-0@@ -186,8 +186,11 @@ quiet_cmd_fig2png = FIG2PNG $@ ###Documentation/DocBook/Makefile quiet_cmd_fig2png = FIG2PNG $@ · line 196
Quoted 10 lines
Documentation/DocBook/Makefile +4
-1# Rule to convert a .c file to inline XML documentation + gen_xml = : + quiet_gen_xml = echo ' GEN $@' +silent_gen_xml = : %.xml: %.c - @echo ' GEN $@' + @$($(quiet)gen_xml) @( \ echo "<programlisting>"; \ expand --tabs=8 < $< | \The
Makefilechanges are good, but the patch description makes it appear that Mike was rushed. How about something like this?
Quoted 5 lines
Quoted 4 lines
Add rules for
gen_xmland its quiet & silent variants. This causes "make -s" to be silent forgen_xml.Acked-by Randy Dunlap <[email protected]>Applied - but I forgot to add this update.
OK - I had not applied the patch so I got it right in the end. Applied and pushed out.
Sam