diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-02 22:25:38 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-02 22:25:38 (EDT) |
commit | fb255355e6a65c1d0c97b7b49e328abeb9eb16f5 (patch) | |
tree | cf3fb97dd704add63e5df8cc5849109bb35fe78e | |
parent | 8181f2b4922b07b1d6e645f9dbdfcfcf6874c1b5 (diff) |
Fix locale files install path.
-rw-r--r-- | locale/Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/locale/Makefile.in b/locale/Makefile.in index 6d85c8e..d57d5ce 100644 --- a/locale/Makefile.in +++ b/locale/Makefile.in @@ -50,9 +50,10 @@ clean: install: all @for obj in $(OBJS); do \ printf ' INSTALL locale/%s\n' "$${obj}"; \ - mkdir -p "$(DESTDIR)/$(localedir)/$${obj%/*}"; \ - cp "$${obj}" "$(DESTDIR)/$(localedir)/$${obj}"; \ - chmod 644 "$(DESTDIR)/$(localedir)/$${obj}"; \ + mkdir -p "$(DESTDIR)/$(localedir)/$${obj%/*}/LC_MESSAGES"; \ + dest="$(DESTDIR)/$(localedir)/$${obj%/*}/LC_MESSAGES/$${obj##*/}"; \ + cp "$${obj}" "$${dest}"; \ + chmod 644 "$${dest}"; \ done uninstall: |