summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-02 21:51:51 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-02 21:51:51 (EDT)
commit546284239ec9b9fcc9e6629e9bffc4777cd0ba9d (patch)
treeca5c93351756d54d754ad95f838fa368f4d66c8f
parent368666180b7a546564bda5c92522b2f24d2b617d (diff)
Make any non-existent locale directories.
-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