summaryrefslogtreecommitdiffstats
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/Makefile.in b/locale/Makefile.in
index db2dcc1..6d85c8e 100644
--- a/locale/Makefile.in
+++ b/locale/Makefile.in
@@ -50,7 +50,7 @@ clean:
install: all
@for obj in $(OBJS); do \
printf ' INSTALL locale/%s\n' "$${obj}"; \
- mkdir -p '$(DESTDIR)/$(localedir)'; \
+ mkdir -p "$(DESTDIR)/$(localedir)/$${obj%/*}"; \
cp "$${obj}" "$(DESTDIR)/$(localedir)/$${obj}"; \
chmod 644 "$(DESTDIR)/$(localedir)/$${obj}"; \
done