changeset 11927:234941dec230

maint.mk: sort the list of syntax-check rules * top/maint.mk (syntax-check-rules): Sort syntax-check rules, so it's easier to get a sense of progress when the rules are run sequentially and take a long time.
author Daniel P. Berrange <berrange@redhat.com>
date Tue, 01 Sep 2009 16:39:43 +0200
parents 79c91e5cce7a
children fb9478b0ba39
files ChangeLog top/maint.mk
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-01  Daniel P. Berrange  <berrange@redhat.com>
+
+	maint.mk: sort the list of syntax-check rules
+	* top/maint.mk (syntax-check-rules): Sort syntax-check rules, so it's
+	easier to get a sense of progress when the rules are run sequentially
+	and take a long time.
+
 2009-09-01  Simon Josefsson  <simon@josefsson.org>
 
 	* modules/arpa_inet: Use $(MKDIR_P) instead of @MKDIR_P@.
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -74,8 +74,8 @@
 _cfg_mk := $(shell test -f $(srcdir)/cfg.mk && echo '$(srcdir)/cfg.mk')
 
 # Collect the names of rules starting with `sc_'.
-syntax-check-rules := $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' \
-			$(srcdir)/$(ME) $(_cfg_mk))
+syntax-check-rules := $(sort $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' \
+			$(srcdir)/$(ME) $(_cfg_mk)))
 .PHONY: $(syntax-check-rules)
 
 local-checks-available = \