summaryrefslogtreecommitdiffstats
path: root/extensions/GNUmakefile.in
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-12-15 23:36:19 +0100
committerPatrick McHardy <kaber@trash.net>2010-12-15 23:36:19 +0100
commit3a84b3d5de492e40aff7bae5038b06dd6b6041c4 (patch)
tree6d9b602bbd4ece24176325d0006ea3c12d7934a7 /extensions/GNUmakefile.in
parent2f09f1b39ced2ae7109382dcf066785bab4a966a (diff)
parenta3f101331deb9314caa0cfa1061c925865e79380 (diff)
Merge branch 'master' of git://dev.medozas.de/iptables
Diffstat (limited to 'extensions/GNUmakefile.in')
-rw-r--r--extensions/GNUmakefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in
index 709366a1..74a058c1 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 \
@@ -165,14 +165,14 @@ man_run = \
if [ -f "$$f" ] && grep -Eq "$(3)|NFPROTO_UNSPEC" "$$cf"; then \
echo -e "\t+ $$f" >&2; \
echo ".SS $$ext"; \
- cat "$$f"; \
+ cat "$$f" || exit $$?; \
continue; \
fi; \
f="${srcdir}/lib$(2)t_$$ext.man"; \
if [ -f "$$f" ]; then \
echo -e "\t+ $$f" >&2; \
echo ".SS $$ext"; \
- cat "$$f"; \
+ cat "$$f" || exit $$?; \
continue; \
fi; \
done >$@;