aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-28 14:30:58 -0700
committerSam Ravnborg <sam@uranus.ravnborg.org>2008-04-25 21:03:20 +0200
commit759cd603beea7f4ab7df1e6bcfda90b62b5f4125 (patch)
treeaa5b23f07f60bbd228c87d7a3ff43ced235fefd3 /Documentation/DocBook
parent0254da07d9d51044140a904c47affaeeb8b74ae8 (diff)
downloadkernel_goldelico_gta04-759cd603beea7f4ab7df1e6bcfda90b62b5f4125.zip
kernel_goldelico_gta04-759cd603beea7f4ab7df1e6bcfda90b62b5f4125.tar.gz
kernel_goldelico_gta04-759cd603beea7f4ab7df1e6bcfda90b62b5f4125.tar.bz2
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 <vapier@gentoo.org> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r--Documentation/DocBook/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index b2b6366..83966e9 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 "<programlisting>"; \
expand --tabs=8 < $< | \