From: Mike Frysinger Date: Fri, 28 Mar 2008 21:30:58 +0000 (-0700) Subject: kbuild: silence documentation GEN xml messages according to $(quiet) X-Git-Tag: v2.6.26-rc1~1063^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=759cd603beea7f4ab7df1e6bcfda90b62b5f4125;p=linux-2.6-omap-h63xx.git kbuild: silence documentation GEN xml messages according to $(quiet) Add rules for gen_xml and its quiet & silent variants. This causes "make -s" to be silent for gen_xml. Signed-off-by: Mike Frysinger Acked-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg --- diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index b2b6366bba5..83966e94cc3 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile @@ -187,8 +187,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 ""; \ expand --tabs=8 < $< | \