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

From: Mauro Carvalho Chehab
Date: Wed Feb 17 2010 - 12:08:00 EST


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

Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

---
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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/