From 1f97ffd3d1cbe36c08ac0b63427d69855429c3ec Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 23 Oct 2013 17:07:06 -0400 Subject: Makefile.am: Fix directory in locale installation. --- 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 -- cgit v0.9.1