[CRIU] [PATCH 1/6] Makefile: don't use $(E) for help

Kir Kolyshkin kir at openvz.org
Wed May 1 23:17:05 EDT 2013


$(E) is used for 'silent make' to inform about what is going on
when we are not printing actual commands being executed, and do
nothing in case of 'verbose make (i.e. make V=1).

For 'make help' we want to output the text regardless of whether
'silent make' is enabled or not.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 Makefile | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
index 29bf1c0..0645375 100644
--- a/Makefile
+++ b/Makefile
@@ -217,16 +217,16 @@ install-man:
 .PHONY: install install-man
 
 help:
-	$(E) '    Targets:'
-	$(E) '      all             - Build all [*] targets'
-	$(E) '    * crtools         - Build crtools'
-	$(E) '      zdtm            - Build zdtm test-suite'
-	$(E) '      docs            - Build documentation'
-	$(E) '      clean           - Clean everything'
-	$(E) '      tags            - Generate tags file (ctags)'
-	$(E) '      cscope          - Generate cscope database'
-	$(E) '      rebuild         - Force-rebuild of [*] targets'
-	$(E) '      test            - Run zdtm test-suite'
+	@echo '    Targets:'
+	@echo '      all             - Build all [*] targets'
+	@echo '    * crtools         - Build crtools'
+	@echo '      zdtm            - Build zdtm test-suite'
+	@echo '      docs            - Build documentation'
+	@echo '      clean           - Clean everything'
+	@echo '      tags            - Generate tags file (ctags)'
+	@echo '      cscope          - Generate cscope database'
+	@echo '      rebuild         - Force-rebuild of [*] targets'
+	@echo '      test            - Run zdtm test-suite'
 
 gcov:
 	$(E) " GCOV"
-- 
1.8.1.4



More information about the CRIU mailing list