Skip to content

Commit

Permalink
kbuild: silence documentation GEN xml messages according to $(quiet)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger authored and Sam Ravnborg committed Apr 25, 2008
1 parent 0254da0 commit 759cd60
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Documentation/DocBook/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 < $< | \
Expand Down

0 comments on commit 759cd60

Please sign in to comment.