Skip to content

Commit 759cd60

Browse files
vapierSam Ravnborg
authored andcommitted
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>
1 parent 0254da0 commit 759cd60

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎Documentation/DocBook/Makefile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,11 @@ quiet_cmd_fig2png = FIG2PNG $@
187187

188188
###
189189
# Rule to convert a .c file to inline XML documentation
190+
gen_xml = :
191+
quiet_gen_xml = echo ' GEN $@'
192+
silent_gen_xml = :
190193
%.xml: %.c
191-
@echo ' GEN $@'
194+
@$($(quiet)gen_xml)
192195
@( \
193196
echo "<programlisting>"; \
194197
expand --tabs=8 < $< | \

0 commit comments

Comments
 (0)