25 lines
921 B
Plaintext
25 lines
921 B
Plaintext
$OpenBSD: patch-po-Makefile_in_in,v 1.3 2005/02/11 17:57:31 naddy Exp $
|
|
--- po/Makefile.in.in.orig Tue Dec 8 02:08:18 1998
|
|
+++ po/Makefile.in.in Sat May 11 11:04:02 2002
|
|
@@ -111,16 +111,16 @@ 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 \
|
|
cat=`basename $$cat`; \
|
|
case "$$cat" in \
|
|
- *.gmo) destdir=$(gnulocaledir);; \
|
|
- *) destdir=$(localedir);; \
|
|
+ *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \
|
|
+ *) destdir=$(DESTDIR)$(localedir);; \
|
|
esac; \
|
|
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
|
dir=$$destdir/$$lang/LC_MESSAGES; \
|