Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Reduce build verbosity when updating timestamp files



Anyone have any objection to this?  It puts a leading @ on the commands
in Makemod that do nothing but update timestamps, so that "make" is less
verbose when there's nothing to be rebuilt.


diff --git a/Src/mkmakemod.sh b/Src/mkmakemod.sh
index 2633c27..0021609 100644
--- a/Src/mkmakemod.sh
+++ b/Src/mkmakemod.sh
@@ -307,10 +307,10 @@ if $first_stage; then
 	echo "\$(SYMS_${mddname}): \$(PROTODEPS)"
 	echo
 	echo "${mddname}.export: \$(SYMS_${mddname})"
-	echo "	( echo '#!'; cat \$(SYMS_${mddname}) | sed -n '/^X/{s/^X//;p;}' | sort -u ) > \$@"
+	echo "	@( echo '#!'; cat \$(SYMS_${mddname}) | sed -n '/^X/{s/^X//;p;}' | sort -u ) > \$@"
 	echo
 	echo "modobjs.${mddname}: \$(MODOBJS_${mddname})"
-	echo "	echo '' \$(MODOBJS_${mddname}) $modobjs_sed>> \$(dir_src)/stamp-modobjs.tmp"
+	echo "	@echo '' \$(MODOBJS_${mddname}) $modobjs_sed>> \$(dir_src)/stamp-modobjs.tmp"
 	echo
 	if test -z "$alwayslink"; then
 	    case " $all_modules" in *" ${mddname}."*)



Messages sorted by: Reverse Date, Date, Thread, Author