zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: [PATCH] Reduce build verbosity when updating timestamp files
Date: Sat, 26 Jul 2014 09:53:20 -0700	[thread overview]
Message-ID: <140726095320.ZM5359@torch.brasslantern.com> (raw)

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}."*)


             reply	other threads:[~2014-07-26 16:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-26 16:53 Bart Schaefer [this message]
2014-07-28  8:46 ` Peter Stephenson
2014-07-28 15:39   ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=140726095320.ZM5359@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).