summaryrefslogtreecommitdiffstats
path: root/extensions/GNUmakefile.in
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-12-04 02:53:20 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-12-04 02:57:29 +0100
commitd4105ad56335058af4b0b1be1278e01f5c0bd4ac (patch)
tree061be322dbccaa9add35da6e59a0362159cc9bdd /extensions/GNUmakefile.in
parent4d2a77ff8cb4115925477cd5ce0ea972494107ab (diff)
build: fix globbing of extensions in other locales
In the fi_FI locale, [a-z] would not include 'w', for example. Rectify this by using [[:alnum:]] (to counter against different ordering) and forcing the POSIX locale (so that the alphabet has at least the 26 base characters). Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/GNUmakefile.in')
-rw-r--r--extensions/GNUmakefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in
index 709366a1..7c479018 100644
--- a/extensions/GNUmakefile.in
+++ b/extensions/GNUmakefile.in
@@ -155,8 +155,8 @@ initext6.c: .initext6.dd
#
# Manual pages
#
-ex_matches = $(sort $(shell echo $(1) | grep -Eo '\b[a-z0-9]+\b'))
-ex_targets = $(sort $(shell echo $(1) | grep -Eo '\b[A-Z0-9]+\b'))
+ex_matches = $(sort $(shell echo $(1) | LC_ALL=POSIX grep -Eo '\b[[:alnum:]]+\b'))
+ex_targets = $(sort $(shell echo $(1) | LC_ALL=POSIX grep -Eo '\b[[:alnum:]]+\b'))
man_run = \
${AM_VERBOSE_GEN} \
for ext in $(1); do \