changeset 13221:6b5e6ecef4f5

maint.mk: generate more concise timing data for syntax-check rules * top/maint.mk ($(sc_z_rules_)): Remove the ":", "sc_" prefix and " done" from each line that reports a syntax-check test duration.
author Jim Meyering <meyering@redhat.com>
date Mon, 12 Apr 2010 22:15:19 +0200
parents 2bc85bc8ca3a
children 1fc79b2eb8e2
files ChangeLog top/maint.mk
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Apr 12 17:56:27 2010 +0200
+++ b/ChangeLog	Mon Apr 12 22:15:19 2010 +0200
@@ -1,3 +1,9 @@
+2010-04-12  Jim Meyering  <meyering@redhat.com>
+
+	maint.mk: generate more concise timing data for syntax-check rules
+	* top/maint.mk ($(sc_z_rules_)): Remove the ":", "sc_" prefix and
+	" done" from each line that reports a syntax-check test duration.
+
 2010-04-12  Andreas Gruenbacher  <agruen@suse.de>
 
 	git-version-gen: use "git update-index..." rather than "git status"
--- a/top/maint.mk	Mon Apr 12 17:56:27 2010 +0200
+++ b/top/maint.mk	Mon Apr 12 22:15:19 2010 +0200
@@ -139,7 +139,7 @@
 	start=$$(cat .sc-start-$*);					\
 	rm -f .sc-start-$*;						\
 	awk -v s=$$start -v e=$$end					\
-	  'END {printf "%.2f: $* done\n", e - s}' < /dev/null
+	  'END {printf "%.2f $(patsubst sc_%,%,$*)\n", e - s}' < /dev/null
 
 # The patsubst here is to replace each sc_% rule with its sc_%.z wrapper
 # that computes and prints elapsed time.