Skip to contentSkip to conversation

DocBook/Makefile: Make it less verbose

PATCH In review Mauro Carvalho Chehab 1 participant 1 message Feb 17, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/4 DocBook/Makefile: Make it less verbose

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

---
 Documentation/DocBook/Makefile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
Documentation/DocBook/Makefile +5 -2
index 325cfd1..7c590ef 100644
@@ -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)
Signature · 1 line
1.6.6.1