Line 0
Link Here
|
|
|
1 |
--- po/Makefile.in.in.orig |
2 |
+++ po/Makefile.in.in |
3 |
@@ -115,9 +115,9 @@ |
4 |
install-data-no: all |
5 |
install-data-yes: all |
6 |
if test -r "$(MKINSTALLDIRS)"; then \ |
7 |
- $(MKINSTALLDIRS) $(datadir); \ |
8 |
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \ |
9 |
else \ |
10 |
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \ |
11 |
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \ |
12 |
fi |
13 |
@catalogs='$(CATALOGS)'; \ |
14 |
for cat in $$catalogs; do \ |
15 |
@@ -129,27 +129,27 @@ |
16 |
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ |
17 |
dir=$$destdir/$$lang/LC_MESSAGES; \ |
18 |
if test -r "$(MKINSTALLDIRS)"; then \ |
19 |
- $(MKINSTALLDIRS) $$dir; \ |
20 |
+ $(MKINSTALLDIRS) $(DESTDIR)$$dir; \ |
21 |
else \ |
22 |
- $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \ |
23 |
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$$dir; \ |
24 |
fi; \ |
25 |
if test -r $$cat; then \ |
26 |
- $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ |
27 |
- echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \ |
28 |
+ $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT); \ |
29 |
+ echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ |
30 |
else \ |
31 |
- $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ |
32 |
+ $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT); \ |
33 |
echo "installing $(srcdir)/$$cat as" \ |
34 |
- "$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ |
35 |
+ "$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ |
36 |
fi; \ |
37 |
if test -r $$cat.m; then \ |
38 |
- $(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ |
39 |
- echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ |
40 |
+ $(INSTALL_DATA) $$cat.m $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m; \ |
41 |
+ echo "installing $$cat.m as $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ |
42 |
else \ |
43 |
if test -r $(srcdir)/$$cat.m ; then \ |
44 |
$(INSTALL_DATA) $(srcdir)/$$cat.m \ |
45 |
- $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ |
46 |
+ $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m; \ |
47 |
echo "installing $(srcdir)/$$cat as" \ |
48 |
- "$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ |
49 |
+ "$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ |
50 |
else \ |
51 |
true; \ |
52 |
fi; \ |