Use $(localedir) for installing translations
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 24 Nov 2011 17:39:20 +0000 (17:39 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 24 Nov 2011 18:10:13 +0000 (18:10 +0000)
The $(localedir) variable is provided for us by autoconf; no need to make
it up for ourselves.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
po/Makefile.am

index fe47a57..501d878 100644 (file)
@@ -16,7 +16,7 @@ clean-local:
 install-data-hook: all
        linguas="$(LINGUAS)"; \
        for l in $$linguas; do \
-         dir="$(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES"; \
+         dir="$(DESTDIR)$(localedir)/$$l/LC_MESSAGES"; \
          $(mkdir_p) $$dir; \
          echo Installing $$l.mo to $$dir/$(PACKAGE).mo ; \
          $(INSTALL_DATA) $$l.mo $$dir/$(PACKAGE).mo; \