maint.mk: generate more concise timing data for syntax-check rules
authorJim Meyering <meyering@redhat.com>
Mon, 12 Apr 2010 20:15:19 +0000 (22:15 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 12 Apr 2010 20:15:19 +0000 (22:15 +0200)
* top/maint.mk ($(sc_z_rules_)): Remove the ":", "sc_" prefix and
" done" from each line that reports a syntax-check test duration.

ChangeLog
top/maint.mk

index 73c6e30..d5c71a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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"
index c663bce..6942730 100644 (file)
@@ -139,7 +139,7 @@ $(sc_z_rules_): %.z: %
        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.