summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-23 17:07:06 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-23 17:08:19 (EDT)
commit1f97ffd3d1cbe36c08ac0b63427d69855429c3ec (patch)
tree92add2bdd55ae69161825e0ee012d6f098391fe2
parent5884f37bcd3b52bbe95dd63c539c722ffab45c9f (diff)
Makefile.am: Fix directory in locale installation.
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index bcf60b7..e936653 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -61,7 +61,7 @@ install-data-local: $(locale_MESSAGES)
@$(NORMAL_INSTALL)
for f in $(locale_MESSAGES); do \
ff="$${f#*/}"; \
- dir="$(DESTDIR)$(localedir)/$${f%.ms}/LC_MESSAGES"; \
+ dir="$(DESTDIR)$(localedir)/$${ff%.ms}/LC_MESSAGES"; \
$(MKDIR_P) "$${dir}" || exit 1; \
$(INSTALL_DATA) "$${f}" "$${dir}/$(textdomain).ms" || \
exit $$?; \
@@ -71,7 +71,7 @@ uninstall-local:
@$(NORMAL_UNINSTALL)
for f in $(locale_MESSAGES); do \
ff="$${f#*/}"; \
- dir="$(DESTDIR)$(localedir)/$${f%.ms}/LC_MESSAGES"; \
+ dir="$(DESTDIR)$(localedir)/$${ff%.ms}/LC_MESSAGES"; \
rm -f "$${dir}/$(textdomain).ms"; \
done