summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--top/maint.mk2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c86fb78882..9ebc32bea1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-01-04 Simon Josefsson <simon@josefsson.org>
+
+ maintainer-makefile: Invoke syntax-checks regardless of locale.
+ * top/maint.mk (syntax-check-rules): Invoke sed with LANG=C
+ environment because [a-z] may not include 'w' in all locales.
+
2021-01-04 Bruno Haible <bruno@clisp.org>
nstrftime, time_rz: Avoid using an obsolete Autoconf macro.
diff --git a/top/maint.mk b/top/maint.mk
index ee8c5ebd1e..87f65c7e0e 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -163,7 +163,7 @@ ifneq ($(_gl-Makefile),)
_cfg_mk := $(wildcard $(srcdir)/cfg.mk)
# Collect the names of rules starting with 'sc_'.
-syntax-check-rules := $(sort $(shell $(SED) -n \
+syntax-check-rules := $(sort $(shell env LANG=C $(SED) -n \
's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(srcdir)/$(ME) $(_cfg_mk)))
.PHONY: $(syntax-check-rules)