diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-03-28 22:30:58 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@uranus.ravnborg.org> | 2008-04-25 21:03:20 +0200 |
commit | 759cd603beea7f4ab7df1e6bcfda90b62b5f4125 (patch) | |
tree | aa5b23f07f60bbd228c87d7a3ff43ced235fefd3 /Documentation/DocBook | |
parent | kbuild: fix depmod comment (diff) | |
download | linux-759cd603beea7f4ab7df1e6bcfda90b62b5f4125.tar.xz linux-759cd603beea7f4ab7df1e6bcfda90b62b5f4125.zip |
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/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index b2b6366bba51..83966e94cc32 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 < $< | \ |