diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index ac7e801..3a7bde9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -175,11 +175,12 @@ install-locale: @mkdir -p '$(DESTDIR)/$(localedir)' @set -e; for f in $(locale); do \ printf ' INSTALL %s\n' "$${f}"; \ - ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \ - [ "x$${ff%/?*}" != "x$${ff}" ] && \ - mkdir -p "$(DESTDIR)/$(localedir)/$${ff%/?*}"; \ - cp "$${f}" "$(DESTDIR)/$(localedir)/$${ff}"; \ - chmod 644 "$(DESTDIR)/$(localedir)/$${ff}"; \ + ff="$${f#*/}"; \ + dd="$(DESTDIR)/$(localedir)/$${ff%/?*}/LC_MESSAGES"; \ + mkdir -p "$${dd}"; \ + df="$${dd}/$${ff##*/}"; \ + cp "$${f}" "$${df}"; \ + chmod 644 "$${df}"; \ done install-archtab: @mkdir -p '$(DESTDIR)/$(archtabdir)' |