diff top/maint.mk @ 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 46eed9944808
children 80668c656e53
line wrap: on
line diff
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -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.