summaryrefslogtreecommitdiffstats
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/Makefile.in7
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: