diff mbox

[1/4] DocBook/Makefile: Make it less verbose

Message ID 4B7C2267.6050302@redhat.com (mailing list archive)
State Superseded
Headers show

Commit Message

Mauro Carvalho Chehab Feb. 17, 2010, 5:07 p.m. UTC
None
diff mbox

Patch

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)