[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint.mk: sort the list of syntax-check rules
From: |
Jim Meyering |
Subject: |
[PATCH] maint.mk: sort the list of syntax-check rules |
Date: |
Tue, 01 Sep 2009 18:19:56 +0200 |
FYI,
Here's a patch from Daniel P. Berrange to maint.mk.
Just pushed.
>From 1f6f04fa73397e0ed8de600aafdec45b976335a8 Mon Sep 17 00:00:00 2001
From: Daniel P. Berrange <address@hidden>
Date: Tue, 1 Sep 2009 16:39:43 +0200
Subject: [PATCH] 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.
---
ChangeLog | 7 +++++++
top/maint.mk | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d53ed5d..223a0c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-01 Daniel P. Berrange <address@hidden>
+
+ 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 <address@hidden>
* modules/arpa_inet: Use $(MKDIR_P) instead of @address@hidden
diff --git a/top/maint.mk b/top/maint.mk
index 39bbc76..929d8c3 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -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 = \
--
1.6.4.2.384.g5fc62
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] maint.mk: sort the list of syntax-check rules,
Jim Meyering <=