diff options
author | P. 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) |
commit | c82bdb6eb74a09b043912de53a552cafee3dcea0 (patch) | |
tree | bcc554bbbd1fa43d6eb3add4174b8e11203ae2f7 | |
parent | b4b47cf2835010c49d052bc10918b49266e7f973 (diff) |
Makefile.in: Uninstall locales from LC_MESSAGES.
-rw-r--r-- | Makefile.in | 6 |
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 \ |