maint.mk: sort the list of syntax-check rules
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Sep 2009 14:39:43 +0000 (16:39 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 1 Sep 2009 16:18:16 +0000 (18:18 +0200)
* 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.

ChangeLog
top/maint.mk

index d53ed5dab04de25492d5df0a7ae2ba122b936d59..223a0c65f3bd12f086296a4b6e48de9f1219080d 100644 (file)
--- 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@.
index 39bbc7698e472053b8715e97181c45013cc23e76..929d8c3bcd2456742b69666c105f3acaf39219a4 100644 (file)
@@ -74,8 +74,8 @@ export LC_ALL = C
 _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 = \