summaryrefslogtreecommitdiff
path: root/i18n/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'i18n/Makefile.am')
-rw-r--r--i18n/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/i18n/Makefile.am b/i18n/Makefile.am
index b6a224d..409c380 100644
--- a/i18n/Makefile.am
+++ b/i18n/Makefile.am
@@ -32,10 +32,10 @@ if USE_NLS
files='$(MOFILES)'; \
for file in $$files; do \
base=`basename $$file`; \
- langdir=$(localedir)/`echo $$base | sed 's/\.mo$$//'`/LC_MESSAGES; \
+ langdir=$(DESTDIR)$(localedir)/`echo $$base | sed 's/\.mo$$//'`/LC_MESSAGES; \
$(mkinstalldirs) $$langdir; \
- echo " $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$$langdir/$(PACKAGE).mo"; \
- $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$$langdir/$(PACKAGE).mo; \
+ echo " $(INSTALL_DATA) $(srcdir)/$$file $$langdir/$(PACKAGE).mo"; \
+ $(INSTALL_DATA) $(srcdir)/$$file $$langdir/$(PACKAGE).mo; \
done
endif
@@ -44,8 +44,8 @@ if USE_NLS
files='$(MOFILES)'; \
for file in $$files; do \
base=`basename $$file`; \
- langdir=$(localedir)/`echo $$base | sed 's/\.mo$$//'`/LC_MESSAGES; \
- rm -f $(DESTDIR)$$langdir/$(PACKAGE).mo; \
+ langdir=$(DESTDIR)$(localedir)/`echo $$base | sed 's/\.mo$$//'`/LC_MESSAGES; \
+ rm -f $$langdir/$(PACKAGE).mo; \
done
endif