25 lines
877 B
Text
25 lines
877 B
Text
$NetBSD: patch-ae,v 1.1 2009/02/19 16:43:13 joerg Exp $
|
|
|
|
--- po/Makefile.in.in.orig 2009-02-19 17:39:10.000000000 +0100
|
|
+++ po/Makefile.in.in
|
|
@@ -115,9 +115,9 @@ install-data: install-data-@USE_NLS@
|
|
install-data-no: all
|
|
install-data-yes: all
|
|
if test -r "$(MKINSTALLDIRS)"; then \
|
|
- $(MKINSTALLDIRS) $(datadir); \
|
|
+ $(MKINSTALLDIRS) ${DESTDIR}$(datadir); \
|
|
else \
|
|
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
|
|
+ $(SHELL) $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \
|
|
fi
|
|
@catalogs='$(CATALOGS)'; \
|
|
for cat in $$catalogs; do \
|
|
@@ -127,7 +127,7 @@ install-data-yes: all
|
|
*) destdir=$(localedir);; \
|
|
esac; \
|
|
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
|
- dir=$$destdir/$$lang/LC_MESSAGES; \
|
|
+ dir=${DESTDIR}$$destdir/$$lang/LC_MESSAGES; \
|
|
if test -r "$(MKINSTALLDIRS)"; then \
|
|
$(MKINSTALLDIRS) $$dir; \
|
|
else \
|