Don't show build commands for html main file and media dir creation, if V=0.

Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com>

---
 Documentation/DocBook/Makefile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 325cfd1..7c590ef 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -46,8 +46,9 @@ pdfdocs: $(PDF)
 
 HTML := $(sort $(patsubst %.xml, %.html, $(BOOKS)))
 htmldocs: $(HTML)
-       $(call build_main_index)
-       $(call build_images)
+       @$($(quiet)cmd_build_main_index)
+       @$($(call build_main_index))
+       @($(call build_images))
 
 MAN := $(patsubst %.xml, %.9, $(BOOKS))
 mandocs: $(MAN)
@@ -145,6 +146,8 @@ quiet_cmd_db2pdf = PDF     $@
 %.pdf : %.xml
        $(call cmd,db2pdf)
 
+      cmd_build_main_index = :
+quiet_cmd_build_main_index = echo '  BUILD   $@'
 
 index = index.html
 main_idx = Documentation/DocBook/$(index)
-- 
1.6.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to