summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index bd89464..062f162 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -216,8 +216,10 @@ uninstall-man1:
uninstall-locale:
@set -e; for f in $(locale); do \
printf ' RM %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
- rm -f "$(DESTDIR)/$(localedir)/$${ff}"; \
+ ff="$${f#*/}"; \
+ dd="$(DESTDIR)/$(localedir)/$${ff%/?*}/LC_MESSAGES"; \
+ df="$${dd}/$${ff##*/}"; \
+ rm -f "$${df}"; \
done
uninstall-archtab:
@set -e; for f in $(archtab); do \