From: Jim Meyering Date: Mon, 12 Apr 2010 20:15:19 +0000 (+0200) Subject: maint.mk: generate more concise timing data for syntax-check rules X-Git-Tag: v0.1~4266 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=24cd93edf4333d19223a9d02af5ad9d3394e6755;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 73c6e308e..d5c71a35e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-12 Jim Meyering + + 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 git-version-gen: use "git update-index..." rather than "git status" diff --git a/top/maint.mk b/top/maint.mk index c663bce0c..6942730b7 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -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.