summaryrefslogtreecommitdiff
path: root/Makefile.in.in
diff options
context:
space:
mode:
authorRodney Dawes <dobey@wayofthemonkey.com>2013-05-12 13:08:09 -0400
committerRodney Dawes <dobey@wayofthemonkey.com>2013-05-12 13:08:09 -0400
commit10c06017958385563ca6aa5d62fc366f0389e95e (patch)
tree40931eed1636d0a54d7dcefc955fb22c57582cf4 /Makefile.in.in
parent0e7682616e7d7e0b77c927fbe705262f1cfae264 (diff)
downloadintltool-10c06017958385563ca6aa5d62fc366f0389e95e.tar.gz
Use plain localedir to install mo files to, rather than trying to guess one.
Diffstat (limited to 'Makefile.in.in')
-rw-r--r--Makefile.in.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.in.in b/Makefile.in.in
index 06a8cfe..01f9702 100644
--- a/Makefile.in.in
+++ b/Makefile.in.in
@@ -33,8 +33,7 @@ exec_prefix = @exec_prefix@
datadir = @datadir@
datarootdir = @datarootdir@
libdir = @libdir@
-DATADIRNAME = @DATADIRNAME@
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
+localedir = @localedir@
subdir = po
install_sh = @install_sh@
# Automake >= 1.8 provides @mkdir_p@.
@@ -108,7 +107,7 @@ install-data-no: all
install-data-yes: all
linguas="$(USE_LINGUAS)"; \
for lang in $$linguas; do \
- dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
+ dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
$(mkdir_p) $$dir; \
if test -r $$lang.gmo; then \
$(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
@@ -142,8 +141,8 @@ install-exec installcheck:
uninstall:
linguas="$(USE_LINGUAS)"; \
for lang in $$linguas; do \
- rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
- rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
done
check: all $(GETTEXT_PACKAGE).pot