summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-09 19:49:50 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-09 19:49:50 (EDT)
commitc82bdb6eb74a09b043912de53a552cafee3dcea0 (patch)
treebcc554bbbd1fa43d6eb3add4174b8e11203ae2f7
parentb4b47cf2835010c49d052bc10918b49266e7f973 (diff)
Makefile.in: Uninstall locales from LC_MESSAGES.
-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 \