25 lines
877 B
Text
25 lines
877 B
Text
$NetBSD: patch-ae,v 1.1 2009/02/16 19:20:16 joerg Exp $
|
|
|
|
--- po/Makefile.in.in.orig 2009-02-16 20:17:28.000000000 +0100
|
|
+++ po/Makefile.in.in
|
|
@@ -111,9 +111,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 \
|
|
@@ -123,7 +123,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 \
|