diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-09 17:33:45 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-09 17:33:45 (EDT) |
commit | 074199e0b84d19fbad952504d97d76f324242ee6 (patch) | |
tree | 6a92a17598d3df240eb3cd4a93dd24214f5e4615 | |
parent | 08d244ebb287e32b514e90746b8a37be69ef2007 (diff) |
Makefile.in: Put locale files in LC_MESSAGES.
This was overlooked in the build system improvements.
-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)' |