22 lines
815 B
Plaintext
22 lines
815 B
Plaintext
$OpenBSD: patch-po_Makefile_in_in,v 1.1 2002/03/22 05:31:37 form Exp $
|
|
--- po/Makefile.in.in.orig Fri Mar 22 10:11:31 2002
|
|
+++ po/Makefile.in.in Fri Mar 22 10:14:11 2002
|
|
@@ -113,14 +113,14 @@ install-data-yes: all
|
|
if test -r "$(MKINSTALLDIRS)"; then \
|
|
$(MKINSTALLDIRS) $(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; \
|